jquery - Why $(window).width() get a wrong width? -


i'm using jquery animations in site. in desktop browsers, width jquery give me correctly but, when use mobile (has 360px of width), jquery says browser has 980px of width..i not understand reason..

some help?

regards

your phone's browser doesn't see site responsive.

add html:

<meta name="viewport" content="width=device-width, initial-scale=1"> 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -