Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Viewport argument value "device-width;" for key "width" is invalid, and has been ignored. Note that

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?

like image 747
Chintu Avatar asked Oct 08 '13 14:10

Chintu


1 Answers

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">
like image 108
Dimas Pante Avatar answered Nov 14 '22 09:11

Dimas Pante