From 126df1d33330a505db038613cfa897498e7c4792 Mon Sep 17 00:00:00 2001 From: Mohammed Numaan <138296610+mohammednumaan@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:11:39 +0530 Subject: [PATCH] fixed bug --- script.js | 1 - 1 file changed, 1 deletion(-) diff --git a/script.js b/script.js index 0c19737..8480130 100644 --- a/script.js +++ b/script.js @@ -56,7 +56,6 @@ function sketchHandler(){ addColorToCell(e.target, inkMode) sketchBoard.addEventListener('mouseover', highlightCallback) - window.addEventListener('mouseup', clearHighlightCallback); }) // detaching the mouseover events to prevent unnecessary sketch-cell coloring