Change Android title *after* switching panges. Android ist faster.

This commit is contained in:
fkloft 2013-10-19 15:42:01 +02:00
parent a13c91dc82
commit fd90f44def

View File

@ -1,9 +1,6 @@
// created to start cleaning up "window" interaction
//
window.show = function(id) {
if (typeof android !== 'undefined' && android && android.switchToPane) {
android.switchToPane(id);
}
/*
* disable all map properties when switching to another pane
* because sometimes (bug?) touch events are passed to the map when
@ -41,6 +38,10 @@ window.show = function(id) {
window.smartphone.mapButton.click();
break;
}
if (typeof android !== 'undefined' && android && android.switchToPane) {
android.switchToPane(id);
}
}
window.enableMapProperties = function() {