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: {
|
popover: {
|
||||||
backdrop: true
|
backdrop: true
|
||||||
},
|
},
|
||||||
|
touch: {
|
||||||
|
tapHold: true
|
||||||
|
},
|
||||||
init: false,
|
init: false,
|
||||||
initOnDeviceReady: false,
|
initOnDeviceReady: false,
|
||||||
routes: routes
|
routes: routes
|
||||||
|
@ -236,7 +236,9 @@ function trackOpenAsync( {to, resolve, reject}) {
|
|||||||
}, "GET");
|
}, "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 code = $(this).data("trackingcode");
|
||||||
|
|
||||||
var action = app.actions.create({
|
var action = app.actions.create({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user