mobile: Fix desktop mode
(plugins would not be reachable)
This commit is contained in:
@ -157,3 +157,9 @@ window.runOnSmartphonesAfterBoot = function() {
|
||||
window.MAX_DRAWN_LINKS = 200;
|
||||
window.MAX_DRAWN_FIELDS = 100;
|
||||
}
|
||||
|
||||
window.useAndroidPanes = function() {
|
||||
// isSmartphone is important to disable panes in desktop mode
|
||||
return (typeof android !== 'undefined' && android && android.addPane && window.isSmartphone());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user