Fix long-press on iOS and mobile browsers, hopefully
This commit is contained in:
parent
e19c28e5e8
commit
ed66b6aa52
@ -23,6 +23,9 @@ var app = new Framework7({
|
||||
popover: {
|
||||
backdrop: true
|
||||
},
|
||||
touch: {
|
||||
tapHold: true
|
||||
},
|
||||
init: false,
|
||||
initOnDeviceReady: false,
|
||||
routes: routes
|
||||
|
@ -236,7 +236,9 @@ function trackOpenAsync( {to, resolve, reject}) {
|
||||
}, "GET");
|
||||
}
|
||||
|
||||
$("#app").on("contextmenu", ".tracking-code-history-link", function (evt) {
|
||||
$("#app").on("contextmenu taphold", ".tracking-code-history-link", function (evt) {
|
||||
evt.preventDefault();
|
||||
|
||||
var code = $(this).data("trackingcode");
|
||||
|
||||
var action = app.actions.create({
|
||||
|
Loading…
x
Reference in New Issue
Block a user