diff --git a/public/js/main.js b/public/js/main.js index ee2b2cb..9f80132 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -379,8 +379,8 @@ window.addEventListener("paste", function (e) { } } - if (!imgItemFound) { - showBasicAlert("Please Drag&Drop the file into the Whiteboard. (Browsers don't allow copy+past from the filesystem directly)"); + if (!imgItemFound && whiteboard.tool!="text") { + showBasicAlert("Please Drag&Drop the image into the Whiteboard. (Browsers don't allow copy+past from the filesystem directly)"); } } });