Skip to content
Permalink
Browse files

Merge pull request #681 from mpourismaiel/fix/global/js-events-issues

Fix extra dom update causing event removal issue
  • Loading branch information
stp-ip committed Jan 11, 2020
2 parents 94d6a04 + 4fb6417 commit dbfa6f44d8f7f7b4cb8c140aa6c85a717db69e49
@@ -50,7 +50,7 @@ function $(selector) {
return _returnee;
},
append: innerHTML => {
nodes.forEach(node => node.innerHTML += innerHTML);
nodes.forEach(node => node.insertAdjacentHTML('beforeend', innerHTML));
return _returnee;
},
html: innerHTML => {
@@ -29,5 +29,5 @@ function handleScroll() {
}

function scrollToTop() {
$.scrollTo(document.body, 0, 250)
$.scrollTo(document.scrollingElement, 0, 250)
}

Some generated files are not rendered by default. Learn more.

0 comments on commit dbfa6f4

Please sign in to comment.
You can’t perform that action at this time.