Skip to content

Commit

Permalink
or maybe this?
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarquez76 committed Sep 20, 2022
1 parent a89697c commit 3c44cb0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,11 @@ window.addEventListener(

window.removeEventListener("load", load, false);

window.addEventListener(
"contextmenu",
contextMenuHandler,
false
);

window.addEventListener("resize", redraw);

$("#main-body").contextmenu(contextMenuHandler);

$("#main-body").longclick(250, contextMenuHandler);
$("#main-body").longclick(contextMenuHandler);

$("#main-body").dblclick(contextMenuHandler);

Expand Down

0 comments on commit 3c44cb0

Please sign in to comment.