There is such a code. As with reducing the browser to disable this script Only without restarting the browser is now disabled only with a restart

$(document).ready(function() { $(window).resize(function() { if($(window).width() < 960) { $('.mobile-nav').waSlideMenu({ backLinkContent: 'Назад', backOnTop: true, setTitle: true, loadContainer: '#content', slideSpeed: 100 }); } else { } }).resize(); }); 
  • Vsmysle off with a reboot? as far as I understand you need to work only when the browser window is enlarged, then you need to enter a variable in which to store the previous browser width. - Artem Gorlachev
  • one
    If you rely on the documentation, then you need to prescribe $('.mobile-nav').waSlideMenu('exec','destroy'); - MedvedevDev
  • If you add this code, they will not turn off at all - Roman
  • maybe there is some other solution ?! as with media queries. I need to just disable the script with different extensions - Roman

0