We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ba270 commit 706b3b3Copy full SHA for 706b3b3
1 file changed
src/baguetteBox.js
@@ -703,6 +703,7 @@
703
}
704
705
// Borrowed from https://github.com/seiyria/bootstrap-slider/pull/680/files
706
+ /* eslint-disable getter-return */
707
function testPassiveEventsSupport() {
708
var passiveEvents = false;
709
try {
@@ -716,6 +717,7 @@
716
717
718
return passiveEvents;
719
720
+ /* eslint-enable getter-return */
721
722
function preloadNext(index) {
723
if (index - currentIndex >= options.preload) {
0 commit comments