javascript disable resize window

Solutions on MaxInterview for javascript disable resize window by the best coders in the world

showing results for - "javascript disable resize window"
Elisa
11 Aug 2018
1var size = [window.width,window.height];  //public variable
2
3$(window).resize(function(){
4  window.resizeTo(size[0],size[1]);
5});