From 653abfb0b451b551926cbd9f37f357a45a5b0d26 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Sun, 23 Dec 2018 12:04:11 -0800 Subject: [PATCH] Update main.js --- data/scripts/main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/scripts/main.js b/data/scripts/main.js index a8ea28ac..b65177f7 100644 --- a/data/scripts/main.js +++ b/data/scripts/main.js @@ -1037,8 +1037,10 @@ function getCookie(cookieName) { function checkCookies() { if (getCookie("visited") != "true") { if (isMobile == true) { - alert("Thanks for using Card Conjurer! Unfortunately some users have been experiencing difficulty on mobile devices when uploading pictures they took on that mobile device. An easy solution is to quickly edit that picture by cropping it slightly. Otherwise, images from URLs and other sources should work normally. (cookie result: " + getCookie("visited") + ")") - } + alert("Thanks for using Card Conjurer! Unfortunately some users have been experiencing difficulty on mobile devices when uploading pictures they took on that mobile device. An easy solution is to quickly edit that picture by cropping it slightly. Otherwise, images from URLs and other sources should work normally.") + } else if (isSafari == false && isChrome == false) { + alert("Thanks for using Card Conjurer! Unfortunately different browsers treat custom fonts differently and it appears that you are using a browser other than Safari or Chrome. Everything may work perfectly, but if you notice that the cards look odd try using Safari or Chrome.") + } setCookie("visited", "true") } else { console.log("Welcome back to Card Conjurer!")