Update app.js

This commit is contained in:
Namhyeon Go 2020-07-07 09:47:38 +09:00
parent da0d03cc1d
commit 0c8446b78e

12
app.js
View File

@ -38,11 +38,11 @@ var console = {
log: function(msg, status) {
if (typeof(window) !== 'undefined') {
if (typeof(window.jQuery) !== 'undefined') {
//window.jQuery.toast({
// heading: "Information",
// text: msg,
// icon: "info"
//});
window.jQuery.toast({
heading: "Information",
text: msg,
icon: "info"
});
} else {
messages.push(msg);
}
@ -143,4 +143,4 @@ function main() {
}
}
main();
main();