workaround: always enable JS if webview has focus. fixes select box spinner close behavior on Android 4.4

This commit is contained in:
Philipp Schaefer
2014-01-24 00:16:43 +01:00
parent 4abe18d323
commit adc5d16297
3 changed files with 2 additions and 4 deletions

View File

@ -144,9 +144,6 @@ window.runOnSmartphonesAfterBoot = function() {
$("body").on("click", "select", function() {
android.spinnerEnabled(true);
});
$("body").on("focus", "select", function() {
android.spinnerEnabled(false);
});
}
// add event to portals that allows long press to switch to sidebar