WS_OK_7.4.33
/**
*
* Template frontend scripts
*
**/
//Boxed layout//
jQuery(document).ready(function(){
if ($DP_LAYOUT == 'boxed') {
if (jQuery(window).width() <= $DP_TABLET_WIDTH) {
jQuery("body").removeClass("boxed");
}
jQuery(window).resize(function() {
if (jQuery(window).width() <= $DP_TABLET_WIDTH) {
jQuery("body").removeClass("boxed");
}
if (jQuery(window).width() > $DP_TABLET_WIDTH) {
jQuery("body").addClass("boxed");
}
});
}
});