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(); });
$('.mobile-nav').waSlideMenu('exec','destroy');- MedvedevDev