From aa1ce2ea48421ba4198c36525f4202ece6da379a Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 3 Jul 2020 20:11:13 +0900 Subject: [PATCH] Update app.js --- app.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app.js b/app.js index 64cb9f0..887e9c2 100644 --- a/app.js +++ b/app.js @@ -38,15 +38,15 @@ var messages = []; var console = { log: function(msg, status) { if(typeof(window) !== 'undefined') { - if(typeof(window.jQuery) !== 'undefined') { - window.jQuery.toast({ - heading: "Information", - text: msg, - icon: "info" - }); - } else { - messages.push(msg); - } + if(typeof(window.jQuery) !== 'undefined') { + window.jQuery.toast({ + heading: "Information", + text: msg, + icon: "info" + }); + } else { + messages.push(msg); + } } else if(typeof(WScript) !== 'undefined') { WScript.echo(msg); WScript.quit(status);