fix: 🔥 remove double click on leaflet markers #90
This commit is contained in:
parent
9e7cfc2a76
commit
5fe32c9f73
2 changed files with 5 additions and 8 deletions
9
package-lock.json
generated
9
package-lock.json
generated
|
|
@ -2947,9 +2947,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001587",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz",
|
||||
"integrity": "sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==",
|
||||
"version": "1.0.30001790",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001790.tgz",
|
||||
"integrity": "sha512-bOoxfJPyYo+ds6W0YfptaCWbFnJYjh2Y1Eow5lRv+vI2u8ganPZqNm1JwNh0t2ELQCqIWg4B3dWEusgAmsoyOw==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -2964,7 +2964,8 @@
|
|||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
]
|
||||
],
|
||||
"license": "CC-BY-4.0"
|
||||
},
|
||||
"node_modules/chalk": {
|
||||
"version": "2.4.2",
|
||||
|
|
|
|||
|
|
@ -206,10 +206,6 @@ export default defineComponent({
|
|||
// @ts-ignore
|
||||
this.oms.addMarker(marker);
|
||||
site.marker = marker;
|
||||
|
||||
marker.on("dblclick", () => {
|
||||
window.location.href = `/sites/${site.slug}`;
|
||||
});
|
||||
});
|
||||
},
|
||||
updateMarkers() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue