From 3c2ceb9f88b9aa66e27f1c8a19a8d920e751cf14 Mon Sep 17 00:00:00 2001 From: Verdier Date: Fri, 7 Dec 2012 20:21:10 +0100 Subject: [PATCH] Fix thumb member when switching active to tab or menu. --- components/active/init.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/active/init.js b/components/active/init.js index 2459393..54ab4f7 100755 --- a/components/active/init.js +++ b/components/active/init.js @@ -543,6 +543,7 @@ var thumb = this.createMenuThumb(path); $('#tab-dropdown-menu').append(thumb); + this.sessions[path].thumb = thumb; }, moveDropdownMenuToTab: function(menu){ @@ -551,6 +552,7 @@ var thumb = this.createTabThumb(path); $('.tab-list').append(thumb); + this.sessions[path].thumb = thumb; }, isTabListOverflowed: function(includeFictiveTab){