Merge branch 'desktop-mode' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft/desktop-mode

This commit is contained in:
Philipp Schaefer
2013-12-18 10:20:27 +01:00
4 changed files with 11 additions and 5 deletions

View File

@ -170,3 +170,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());
}