Calculating button position if sidebar collapsed/opened
authorAlexander Ebert <ebert@woltlab.com>
Thu, 1 Nov 2012 15:29:04 +0000 (16:29 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 1 Nov 2012 15:29:04 +0000 (16:29 +0100)
Fixes #880

wcfsetup/install/files/js/WCF.js

index ff89967eef33695e357a25353093a91a51ff4ad5..7cb00fdef91f39df49735a4db31a488657ee6041 100755 (executable)
@@ -3743,6 +3743,9 @@ WCF.Collapsible.Sidebar = Class.extend({
                else {
                        this._mainContainer.addClass('sidebarCollapsed');
                }
+               
+               // update button position
+               this._scroll();
        }
 });