Fixes hiding of inline editor dropdown menu
authorMatthias Schmidt <gravatronics@live.com>
Tue, 30 Jul 2013 15:18:35 +0000 (17:18 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 30 Jul 2013 15:18:35 +0000 (17:18 +0200)
wcfsetup/install/files/js/WCF.js

index 580883189ab0bc5700108ec120203aacd3be94bf..57b293e9892132ca6d34ff3ef895ef0ac286b9b1 100755 (executable)
@@ -6462,7 +6462,7 @@ WCF.InlineEditor = Class.extend({
         */
        _hide: function(elementID) {
                if (this._dropdowns[elementID]) {
-                       this._dropdowns[elementID].empty().parent('span').removeClass('dropdownOpen');
+                       this._dropdowns[elementID].empty().removeClass('dropdownOpen');
                }
        }
 });