mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-28 11:04:19 +01:00
fix deprecation warning
This commit is contained in:
parent
26440d4e24
commit
6f0a209a38
|
|
@ -70,7 +70,7 @@ AprsMarker.prototype.onAdd = function() {
|
|||
div.appendChild(overlay);
|
||||
|
||||
var self = this;
|
||||
google.maps.event.addDomListener(div, "click", function(event) {
|
||||
div.addEventListener("click", function(event) {
|
||||
event.stopPropagation();
|
||||
google.maps.event.trigger(self, "click", event);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue