Fixed icon names: plus/minus => chevron-right/down
authorMarcel Werk <burntime@woltlab.com>
Sat, 2 Feb 2013 00:15:00 +0000 (01:15 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sat, 2 Feb 2013 00:15:00 +0000 (01:15 +0100)
Fixes #1123

wcfsetup/install/files/js/WCF.js

index e3aa812714be813f017415cd5392b38e4bae99f2..99a1f5322e6d53b96922eb36988c3869d1c786a5 100755 (executable)
@@ -3714,7 +3714,7 @@ WCF.Collapsible.SimpleRemote = WCF.Collapsible.Remote.extend({
                // hide container on init if applicable
                if (!this._containerData[containerID].isOpen) {
                        this._containerData[containerID].target.hide();
-                       this._exchangeIcon(this._containerData[containerID].button, 'plus');
+                       this._exchangeIcon(this._containerData[containerID].button, 'chevron-right');
                }
        },
        
@@ -3744,7 +3744,7 @@ WCF.Collapsible.SimpleRemote = WCF.Collapsible.Remote.extend({
                this._proxy.sendRequest();
                
                // exchange icon
-               this._exchangeIcon(this._containerData[$containerID].button, ($newState === 'open' ? 'minus' : 'plus'));
+               this._exchangeIcon(this._containerData[$containerID].button, ($newState === 'open' ? 'chevron-down' : 'chevron-right'));
                
                // toggle container
                if ($newState === 'open') {