I am getting this error in JavaScript:
Viewport argument value "device-width;" for key "width" is invalid, and has been ignored. Note that ';' is not a separator in viewport values. The list should be comma-separated.
How do I fix this?
I had this same error. Oddly, it's quite simple to fix. Just change the semicolons for commas, like in:
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With