adding preventDefault will keep the page from doing weird scrolling on mac, or when the map is embedded
This commit is contained in:
parent
07e0aac7fd
commit
5d9305fb11
1 changed files with 1 additions and 0 deletions
|
@ -2449,6 +2449,7 @@ Extras.Classes.Navigation = new Class({
|
|||
if(!this.config.zooming) return;
|
||||
|
||||
// START METAMAPS CODE
|
||||
e.preventDefault();
|
||||
if (e.target.id != 'infovis-canvas') return;
|
||||
if (Metamaps.Create.newTopic.beingCreated) return;
|
||||
// END METAMAPS CODE
|
||||
|
|
Loading…
Reference in a new issue