Improve the solution

solution
Ryan Sobol 8 years ago committed by Brent Gardner
parent cecb8d1f40
commit f298427ab8
  1. 4
      index.js

@ -17,7 +17,9 @@ const drawCanvas = function() {
return; return;
} }
event.target.classList.add(brushClass); if (brushClass) {
event.target.classList.add(brushClass);
}
}); });
} }

Loading…
Cancel
Save