0

Media queries in Chrome 84.0.4147.89

Media queries don't work the way it was before in a new version of Google Chrome. $(window).width is not equal to the actual one. Is there a way to fix it?

24th Jul 2020, 6:21 AM
Sona Sarkisian
Sona Sarkisian - avatar
1 Odpowiedź
+ 1
$(window).resize(function(){ var w = $(window).width(); }); u can use this event listener or $(window).innerwidth
15th Aug 2020, 1:42 PM
BeastyDSK
BeastyDSK - avatar