projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca42ad2
)
Using .hasClass()
author
Magnus Kühn
<magnus.khn@gmail.com>
Mon, 11 Feb 2013 16:18:37 +0000
(17:18 +0100)
committer
Magnus Kühn
<magnus.khn@gmail.com>
Mon, 11 Feb 2013 16:18:37 +0000
(17:18 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 01af22653873fe98df0a78d4ed1e05411fea4555..676051a5cb3faf70a2f92997497b235004ac0e26 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-1723,7
+1723,7
@@
WCF.Action.Delete = Class.extend({
*/
_updateIcon: function($target) {
$target.find('.icon').removeClass('icon-remove').addClass('icon-spinner');
- if ($target.
is('.
icon')) {
+ if ($target.
hasClass('
icon')) {
$target.removeClass('icon-remove').addClass('icon-spinner');
}
},