Revert "Merge remote-tracking branch '3Dgoo/patch-1' into 3.4"

This reverts commit e617042422fc2bbcb0a5c735f10c5c24f1ccafdd, reversing
changes made to 995d07756d0b7aeef611d61fe3a31663b70e4c51.
This commit is contained in:
Daniel Hensby 2016-09-16 14:21:16 +01:00
parent e617042422
commit 71cc5d83e6
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -1081,7 +1081,7 @@ jQuery.noConflict();
this._super();
},
onremove: function() {
if(!this.data('button')) this.button('destroy');
if(this.data('button')) this.button('destroy');
this._super();
}
});