Make touch and wheel event listeners as “passive”
-
Hello,
Just installed the extension, works flawlessly, so thank you.
Though, upon testing the website with GTMetrix, I noticed two warnings:
Consider marking your touch and wheel event listeners as
passive
to improve your page’s scroll performance.
Learn how to improve this
URL Location
https://vintagecarlocation.fr/wp-content/plugins/wp-imageviewer/imageviewer/iv-viewer.js?ver=2.0.5
Line:415
https://vintagecarlocation.fr/wp-content/plugins/wp-imageviewer/imageviewer/iv-viewer.js?ver=2.0.5
Line:309Would be awesome to correct the JS to fit the recommendation.
Best regards
- The topic ‘Make touch and wheel event listeners as “passive”’ is closed to new replies.