diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-06-08 15:39:12 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-06-08 15:39:12 +0000 |
commit | a883e1f0a1c4d9d814cbdea222221261453a6dfc (patch) | |
tree | 478f3b0a19e60646184bc5ef83d669af07f1447d /ui/effects.transfer.js | |
parent | 85d3d34b569d879ada04e5e1ba7d0448cfc207fe (diff) | |
download | jquery-ui-a883e1f0a1c4d9d814cbdea222221261453a6dfc.tar.gz jquery-ui-a883e1f0a1c4d9d814cbdea222221261453a6dfc.zip |
transfer: added optional className option
Diffstat (limited to 'ui/effects.transfer.js')
-rw-r--r-- | ui/effects.transfer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/effects.transfer.js b/ui/effects.transfer.js index 7812c4e2b..2bb9f4b18 100644 --- a/ui/effects.transfer.js +++ b/ui/effects.transfer.js @@ -25,6 +25,7 @@ $.effects.transfer = function(o) { var target = $(o.options.to); // Find Target var position = el.offset(); var transfer = $('<div class="ui-effects-transfer"></div>').appendTo(document.body); + if(o.options.className) transfer.addClass(o.options.className); // Set target css transfer.addClass(o.options.className); |