Side navigation
Ticket #2692: fx.transfer.patch
File fx.transfer.patch, 1.7 KB (added by joern, April 15, 2008 02:08PM UTC)
Index: fx/fx.transfer.js
===================================================================
--- fx/fx.transfer.js (revision 5134)
+++ fx/fx.transfer.js (working copy)
@@ -9,10 +9,9 @@
// Set options
var mode = $.ec.setMode(el, o.options.mode || 'effect'); // Set Mode
- var target = $(document.getElementById(o.options.to)); // Find Target
+ var target = $(o.options.to); // Find Target
var position = el.position();
- $('body', document).append('');
- var transfer = $('#fxTransfer');
+ var transfer = $('').appendTo(document.body)
// Set target css
transfer.addClass(o.options.className);
Index: fx/tests/transfer.html
===================================================================
--- fx/tests/transfer.html (revision 5134)
+++ fx/tests/transfer.html (working copy)
@@ -53,9 +53,9 @@
Download in other formats:
Original Format
File fx.transfer.patch, 1.7 KB (added by joern, April 15, 2008 02:08PM UTC)
Index: fx/fx.transfer.js
===================================================================
--- fx/fx.transfer.js (revision 5134)
+++ fx/fx.transfer.js (working copy)
@@ -9,10 +9,9 @@
// Set options
var mode = $.ec.setMode(el, o.options.mode || 'effect'); // Set Mode
- var target = $(document.getElementById(o.options.to)); // Find Target
+ var target = $(o.options.to); // Find Target
var position = el.position();
- $('body', document).append('');
- var transfer = $('#fxTransfer');
+ var transfer = $('').appendTo(document.body)
// Set target css
transfer.addClass(o.options.className);
Index: fx/tests/transfer.html
===================================================================
--- fx/tests/transfer.html (revision 5134)
+++ fx/tests/transfer.html (working copy)
@@ -53,9 +53,9 @@