simulate map button click on mobile @player search
This commit is contained in:
parent
5d73409693
commit
488b68df2e
@ -371,7 +371,8 @@ window.plugin.playerTracker.centerMapOnUser = function(nick) {
|
||||
return false;
|
||||
}
|
||||
|
||||
map.setView(position, map.getZoom());
|
||||
if(window.isSmartphone()) window.smartphone.mapButton.click();
|
||||
window.map.setView(position, map.getZoom());
|
||||
}
|
||||
|
||||
window.plugin.playerTracker.onNicknameClicked = function(info) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user