viewports argh
This commit is contained in:
parent
a7a7c0dd47
commit
4b37a38857
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ var forceDesktop = false;
|
||||||
function toggleDesktop() {
|
function toggleDesktop() {
|
||||||
if(forceDesktop) {
|
if(forceDesktop) {
|
||||||
var viewport = document.querySelector("meta[name=viewport]");
|
var viewport = document.querySelector("meta[name=viewport]");
|
||||||
viewport.setAttribute('content', 'width=512, initial-scale=1.0');
|
viewport.setAttribute('content', 'width=512');
|
||||||
Cookies.set("ui-desktop", "false");
|
Cookies.set("ui-desktop", "false");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Reference in a new issue