viewports argh

This commit is contained in:
Shish 2018-09-09 10:58:18 +01:00
parent a7a7c0dd47
commit 4b37a38857

View file

@ -51,7 +51,7 @@ var forceDesktop = false;
function toggleDesktop() {
if(forceDesktop) {
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");
}
else {