transfer: added optional className option

This commit is contained in:
Paul Bakaus 2008-06-08 15:39:12 +00:00
parent 85d3d34b56
commit a883e1f0a1

View File

@ -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);