From 929bb75c2217b16dc970b58d6140e6017d9c75d8 Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Fri, 4 Aug 2023 15:27:15 +0000 Subject: [PATCH] document --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index f3cb20a..b44bc8c 100644 --- a/index.php +++ b/index.php @@ -124,7 +124,7 @@ var drawing = false; canvas.onmousedown = function() { drawing = true; } - canvas.onmouseup = function() { drawing = false; } + document.onmouseup = function() { drawing = false; } canvas.onmousemove = function() { if (drawing) {