From b0a9447cdb8e22229beba7c46680f1cf0c1d0152 Mon Sep 17 00:00:00 2001 From: cracker0dks Date: Sun, 2 Jun 2019 17:26:26 +0200 Subject: [PATCH] change alert notes to own modal instead of js alert --- public/js/main.js | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 4212b5f..fec9c06 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -125,7 +125,7 @@ $(document).ready(function () { // upload image button $("#addImgToCanvasBtn").click(function () { - alert("Please drag the image into the browser."); + showBasicAlert("Please drag the image into the browser."); }); // save image as png @@ -178,7 +178,7 @@ $(document).ready(function () { $("