Skip to content

Commit

Permalink
Inlines cloned elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekielaquino committed May 23, 2017
1 parent 97aaa2a commit 89bffd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions marquee3k.js
Expand Up @@ -77,6 +77,7 @@

_createClone() {
const clone = document.createElement('span');
clone.style.display = 'inline-block';
clone.classList.add(`${this.selector}__copy`)
clone.innerHTML = this.innerContent;
this.wrapper.appendChild(clone);
Expand Down

0 comments on commit 89bffd8

Please sign in to comment.