forked from MapComplete/MapComplete
Add long press behaviour on the geolocate-me button
This commit is contained in:
parent
7edf169003
commit
7ff1e7e348
4 changed files with 15 additions and 6 deletions
4
index.ts
4
index.ts
|
@ -107,5 +107,7 @@ if (layoutFromBase64.startsWith("wiki:")) {
|
|||
} else {
|
||||
InitUiElements.InitAll(layoutToUse, layoutFromBase64, testing, defaultLayout);
|
||||
}
|
||||
|
||||
window.addEventListener('contextmenu', function (e) { // Not compatible with IE < 9
|
||||
e.preventDefault();
|
||||
}, false);
|
||||
// console.log(QueryParameters.GenerateQueryParameterDocs())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue