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
Post a Comment