diff options
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js index be80a1e38..f283a6d70 100644 --- a/src/data.js +++ b/src/data.js @@ -160,7 +160,7 @@ jQuery.fn.extend({ // *... In the case of properties that might _actually_ // have dashes, we need to also store a copy of that // unchanged property. - if ( key.indexOf("-") !== -1 && data !== undefined ) { + if ( key.indexOf("-") > -1 && data !== undefined ) { dataUser.set( this, key, value ); } }); |