Browse Source

Clone node on transition

pull/684/head
Nate Delage 10 years ago
parent
commit
096187059f
  1. 2
      dist/js/ratchet.js
  2. 2
      dist/js/ratchet.min.js
  3. 2
      docs/dist/js/ratchet.js
  4. 2
      docs/dist/js/ratchet.min.js
  5. 2
      js/transitions.js

2
dist/js/ratchet.js vendored

@ -330,6 +330,8 @@
var div = document.createElement('div');
div.innerHTML = contents;
contents = div.childNodes[0];
} else {
contents = contents.cloneNode(true)
}
if (transition) {

2
dist/js/ratchet.min.js vendored

File diff suppressed because one or more lines are too long

2
docs/dist/js/ratchet.js vendored

@ -330,6 +330,8 @@
var div = document.createElement('div');
div.innerHTML = contents;
contents = div.childNodes[0];
} else {
contents = contents.cloneNode(true)
}
if (transition) {

2
docs/dist/js/ratchet.min.js vendored

File diff suppressed because one or more lines are too long

2
js/transitions.js

@ -123,6 +123,8 @@
var div = document.createElement('div');
div.innerHTML = contents;
contents = div.childNodes[0];
} else {
contents = contents.cloneNode(true)
}
if (transition) {

Loading…
Cancel
Save