diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-05-31 16:49:00 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-05-31 16:49:00 +0000 |
commit | d32917596eac2bbfcb5699990231b4b72c7639ec (patch) | |
tree | 4807f98fd51541cd8baae2dc6ba92d5322bc3800 /ui/source/effects.core.js | |
parent | c068874890950a0e2f1b42866eb28faa138cb5df (diff) | |
download | jquery-ui-d32917596eac2bbfcb5699990231b4b72c7639ec.tar.gz jquery-ui-d32917596eac2bbfcb5699990231b4b72c7639ec.zip |
effects: modified save mthod so it now only aves css atributes stored in the actual style attribute, fixes highlight
Diffstat (limited to 'ui/source/effects.core.js')
-rw-r--r-- | ui/source/effects.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/source/effects.core.js b/ui/source/effects.core.js index b44a72274..dca9f28ce 100644 --- a/ui/source/effects.core.js +++ b/ui/source/effects.core.js @@ -5,7 +5,7 @@ $.extend($.effects, { save: function(el, set) { for(var i=0;i<set.length;i++) { - if(set[i] !== null) $.data(el[0], "ec.storage."+set[i], el.css(set[i])); + if(set[i] !== null) $.data(el[0], "ec.storage."+set[i], el[0].style[set[i]]); } }, restore: function(el, set) { |