Это форк Vinaora Nivo Slider, пришлось переименовать, в силу требования JED. Даже старую версию качать можно было только с варезных сайтов, нашпигованную троянами. Зачем оно такое, согласитесь.
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See www.chromestatus.com/features/5093566007214080
AddEventListenerOptions defaults passive to false. With this change touchstart and touchmove listeners added to the document will default to passive:true (so that calls to preventDefault will be ignored).. If the value is explicitly provided in the AddEventListenerOptions it will continue having the value specified by the page. This is behind a flag starting in Chrome 54, and enabled by default in Chrome 56. See developers.google.com/web/updates/2017/0...rolling-intervention
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.
AddEventListenerOptions defaults passive to false. With this change touchstart and touchmove listeners added to the document will default to passive:true (so that calls to preventDefault will be ignored).. If the value is explicitly provided in the AddEventListenerOptions it will continue having the value specified by the page. This is behind a flag starting in Chrome 54, and enabled by default in Chrome 56.
diff --git a/assets/js/SmoothScroll.js b/assets/js/SmoothScroll.js
index 600f948..ce6291e 100644
--- a/assets/js/SmoothScroll.js
+++ b/assets/js/SmoothScroll.js
@@ -553,7 +553,7 @@ function overflowAutoOrScroll(el) {
***********************************************/
function addEvent(type, fn) {
- window.addEventListener(type, fn, false);
+ window.addEventListener(type, fn, {passive: false});
}
function removeEvent(type, fn) {
=== Sirat ===
Contributors: VWthemes
Tags: left-sidebar, right-sidebar, one-column, two-columns, three-columns, four-columns, grid-layout, custom-colors, custom-background, custom-logo, custom-menu, custom-header, editor-style, featured-images, footer-widgets, sticky-post, full-width-template, theme-options, post-formats, translation-ready, accessibility-ready, threaded-comments, rtl-language-support, blog, portfolio, e-commerce
Requires at least: 4.8
Tested up to: 5.2.2
Requires PHP: 7.2.14
Stable tag: 0.4
License: GPLv3.0 or later
License URI: http://www.gnu.org/licenses/gpl-v3.0.html
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.