Fixed tooltip for sidebar button
authorAlexander Ebert <ebert@woltlab.com>
Tue, 30 Oct 2012 15:43:22 +0000 (16:43 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 30 Oct 2012 15:43:22 +0000 (16:43 +0100)
wcfsetup/install/files/js/WCF.js

index 5a702cf491efac6d3420946887467f531f6a8e44..94ab3babbb4dcc199af3bba92c9acce425e14d4f 100755 (executable)
@@ -3660,9 +3660,11 @@ WCF.Collapsible.Sidebar = Class.extend({
                this._userPanelHeight = $('#topMenu').outerHeight();
                
                // add toggle button
+               WCF.DOMNodeInsertedHandler.enable();
                this._button = $('<a class="collapsibleButton jsTooltip" title="' + WCF.Language.get('wcf.global.button.collapsible') + '" />').prependTo(this._sidebar);
                this._button.click($.proxy(this._click, this));
                this._buttonHeight = this._button.outerHeight();
+               WCF.DOMNodeInsertedHandler.disable();
                
                this._proxy = new WCF.Action.Proxy({
                        showLoadingOverlay: false,