summaryrefslogtreecommitdiff
path: root/misc/states.js
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-12-29 17:16:12 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-12-29 17:16:12 -0500
commitf362e6ae18cdd14e8a998393f711c3e5fdaae151 (patch)
treebfa62b45e6107e7fba39e2ac92694755d93f909b /misc/states.js
parent0b1196be860920904b4da4af8a74f5e5f27f4a82 (diff)
downloadbrdo-f362e6ae18cdd14e8a998393f711c3e5fdaae151.tar.gz
brdo-f362e6ae18cdd14e8a998393f711c3e5fdaae151.tar.bz2
Issue #2018791 by droplet | gagarine: States.js is not compatible with jquery +1.6.1 because it use $.attr in the wrong way.
Diffstat (limited to 'misc/states.js')
-rw-r--r--misc/states.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/states.js b/misc/states.js
index 4b4f1d518..6d98da81b 100644
--- a/misc/states.js
+++ b/misc/states.js
@@ -373,7 +373,7 @@ states.Trigger.states = {
checked: {
'change': function () {
- return this.attr('checked');
+ return this.is(':checked');
}
},