Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
janschoenherr committed Oct 11, 2018
1 parent 65faa2b commit 0372f5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/core/scrollspy.js
Expand Up @@ -49,7 +49,7 @@ export default {

read(els) {

if (!els.delay) {
if (!els.update) {
return;
}

Expand All @@ -72,9 +72,9 @@ export default {
write(els) {

// Let child components be applied at least once first
if (!els.delay) {
if (!els.update) {
this.$emit();
return els.delay = true;
return els.update = true;
}

this.elements.forEach((el, i) => {
Expand Down

0 comments on commit 0372f5b

Please sign in to comment.