About the code
-
Hello. Thank you.
【1】What are the following for?
Target file → assets/js/custom.js
?14?23 line
var windowWidth = $(window).width();$(window).resize(function() {
//to disable Reload based on Screenshize use filter wpto_localize_data
if( windowWidth != $(window).width() && WPT_DATA.resize_loader) {
location.reload();
return;
}
});【2】Shouldn’t I remove the above?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘About the code’ is closed to new replies.