From cc4ca5373d6a7b71486c4eb5c3ea78deedf0afc2 Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:25:57 -0400 Subject: [PATCH] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 438024d2..07113173 100644 --- a/index.html +++ b/index.html @@ -16824,7 +16824,7 @@ window.onload = function() { if (newWidth > 1000) { newWidth = 1000; } // If we are on a desktop and the new height is greater than 500, set it to 500 if (window.innerWidth > 1000 && newHeight > 500) { newHeight = 500; } - if (settings.pixelsize && settings.pixelsize.slice(-1) === "w") { + if (settings.pixelsize && settings.pixelsize.toString().slice(-1) === "w") { // resizeCanvas(window.innerHeight/1.5,window.innerWidth-10,pixelSize); newHeight = window.innerHeight/1.5; newWidth = window.innerWidth-10;