mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
transfer: added optional className option
This commit is contained in:
parent
85d3d34b56
commit
a883e1f0a1
@ -25,6 +25,7 @@ $.effects.transfer = function(o) {
|
|||||||
var target = $(o.options.to); // Find Target
|
var target = $(o.options.to); // Find Target
|
||||||
var position = el.offset();
|
var position = el.offset();
|
||||||
var transfer = $('<div class="ui-effects-transfer"></div>').appendTo(document.body);
|
var transfer = $('<div class="ui-effects-transfer"></div>').appendTo(document.body);
|
||||||
|
if(o.options.className) transfer.addClass(o.options.className);
|
||||||
|
|
||||||
// Set target css
|
// Set target css
|
||||||
transfer.addClass(o.options.className);
|
transfer.addClass(o.options.className);
|
||||||
|
Loading…
Reference in New Issue
Block a user