[missions] bugfix: markers weren't removed on mobile
This commit is contained in:
parent
59659a944d
commit
b2bc864d6a
@ -155,6 +155,7 @@ window.plugin.missions = {
|
|||||||
span.className = 'ui-icon ui-icon-close';
|
span.className = 'ui-icon ui-icon-close';
|
||||||
span.textContent = 'Close mission';
|
span.textContent = 'Close mission';
|
||||||
span.addEventListener('click', function() {
|
span.addEventListener('click', function() {
|
||||||
|
this.unhighlightMissionPortals(markers);
|
||||||
li.parentNode.removeChild(li);
|
li.parentNode.removeChild(li);
|
||||||
content.parentNode.removeChild(content);
|
content.parentNode.removeChild(content);
|
||||||
delete this.tabHeaders[id];
|
delete this.tabHeaders[id];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user