Skip to content

Commit a9a31f0

Browse files
authored
Merge pull request #18 from satyam-seth-learnings/scratch-effect
change mouse event with pointer event
2 parents d665fc1 + 7eae31e commit a9a31f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scratch card effect/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
document.addEventListener('mousemove', function (e) {
1+
document.addEventListener('pointermove', function (e) {
22
const body = document.querySelector('body');
33
const bubbles = document.createElement('span');
44

0 commit comments

Comments
 (0)