Fix duplicate context menu

This commit is contained in:
Skylar Ittner 2022-01-27 23:25:19 -07:00
parent df4d0e487c
commit 6dc846b3ab
2 changed files with 1 additions and 4 deletions

View File

@ -23,9 +23,6 @@ var app = new Framework7({
popover: {
backdrop: true
},
touch: {
tapHold: true
},
init: false,
initOnDeviceReady: false,
routes: routes

View File

@ -177,7 +177,7 @@ function trackOpenAsync( {to, resolve, reject}) {
}, "GET");
}
$("#app").on("taphold contextmenu", ".tracking-code-history-link", function (evt) {
$("#app").on("contextmenu", ".tracking-code-history-link", function (evt) {
var code = $(this).data("trackingcode");
var action = app.actions.create({