Skip to content

Commit 7eed0b6

Browse files
committed
build
1 parent 7324e7a commit 7eed0b6

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

dist/v-scrollin.esm.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ var component = {render: function(){var _vm=this;var _h=_vm.$createElement;var _
7979
if (this.workingIndices.length < 3 && !this.amountFinished) {
8080
this.workingIndices.push(this.workingIndices.length);
8181
}
82-
if (this.scrollingText === this.finishedText) {
82+
if (
83+
this.scrollingText === this.finishedText &&
84+
this.currentMisses === this.misses
85+
) {
8386
clearInterval(this.scroll);
84-
} else if (++this.currentMisses >= this.misses) {
87+
} else if (++this.currentMisses === this.misses) {
8588
this.scrollingText = this.replace(
8689
this.scrollingText,
8790
this.amountFinished,

dist/v-scrollin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/v-scrollin.umd.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,12 @@
8383
if (this.workingIndices.length < 3 && !this.amountFinished) {
8484
this.workingIndices.push(this.workingIndices.length);
8585
}
86-
if (this.scrollingText === this.finishedText) {
86+
if (
87+
this.scrollingText === this.finishedText &&
88+
this.currentMisses === this.misses
89+
) {
8790
timers.clearInterval(this.scroll);
88-
} else if (++this.currentMisses >= this.misses) {
91+
} else if (++this.currentMisses === this.misses) {
8992
this.scrollingText = this.replace(
9093
this.scrollingText,
9194
this.amountFinished,

0 commit comments

Comments
 (0)