views:

55

answers:

1

When I start a webkit browser instance and enter http://localhost, the result of $this.innerWidth() is right (I used jQuery).
But if I tried to refresh the page, the result of $this.innerWidth() will change, which is wrong. It seems no sense, as I think refresh is the same to start a new page loading.

And this only happens in webkit browser, any recommendations ?

Thanks in advance !