Muat ulang jendela hanya dalam 767 layar

$(document).ready(function(){
  $(window).on('resize',function(){
      if ($(window).width() < 767) {   
        location.reload();  // refresh page 
      }
      else {  
        // width more than 768px for PC  
      }
  }); 
});
Panicky Peafowl