projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d180e07
)
Fixed potential memory leak
author
Alexander Ebert
<ebert@woltlab.com>
Wed, 4 Jun 2014 14:48:04 +0000
(16:48 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Wed, 4 Jun 2014 14:48:20 +0000
(16:48 +0200)
Fixes #1739
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 5edb04132e5e783d7f1d4070cefe7bad793d4126..3be6081267e48aff822e1d8003675690b8bbfbfc 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-6382,7
+6382,7
@@
WCF.System.FlexibleMenu = {
_registerTabMenus: function() {
// register tab menus
$('.tabMenuContainer:not(.jsFlexibleMenuEnabled)').each(function(index, tabMenuContainer) {
- var $navigation = $(tabMenuContainer).children('nav');
+ var $navigation = $(tabMenuContainer).
addClass('jsFlexibleMenuEnabled').
children('nav');
if ($navigation.length && $navigation.find('> ul:eq(0) > li').length) {
WCF.System.FlexibleMenu.registerMenu($navigation.wcfIdentify());
}