Skip to content

Commit aa4190e

Browse files
authored
Merge pull request antoniandre#18 from GPlay97/master
bugfix slide if no bullet / one slide available
2 parents dcc5231 + 5b0b63f commit aa4190e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/VueperSlides.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ export default {
722722
if (this.isReady && !jumping) this.emit('slide')
723723
}
724724
725-
if (this.isReady && this.conf.bullets && !autoPlaying && !jumping && this.$refs.bullet[this.slides.current]) {
725+
if (this.isReady && this.conf.bullets && !autoPlaying && !jumping && this.$refs.bullet && this.$refs.bullet[this.slides.current]) {
726726
this.$refs.bullet[this.slides.current].focus()
727727
}
728728
}
@@ -965,4 +965,4 @@ export default {
965965
}
966966
}
967967
}
968-
</style>
968+
</style>

0 commit comments

Comments
 (0)