Trying to get jQuery to add current window width to URL on resize. It keeps reloading on mobile devices. How do I solve this problem. My code looks like below.
$(window).bind('resize',function(){
if (window.location.href.indexOf('reload') === -1) {
Thank you JΛ̊KE. I am trying to get the page to reload if user resizes page. That will help me solve the problem of users having to refresh pages before elements situates the way they should.