fix hidden sidebars in cordova
This commit is contained in:
parent
856ebce534
commit
4be558d143
5 changed files with 17 additions and 7 deletions
|
|
@ -113,12 +113,12 @@ angular
|
|||
$idleProvider.warningDuration(40); // in seconds
|
||||
$keepaliveProvider.interval(30); // in seconds
|
||||
})
|
||||
.run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) {
|
||||
.run(function($rootScope, $location, $idle, gettextCatalog, uriHandler, isCordova) {
|
||||
|
||||
gettextCatalog.currentLanguage = config.defaultLanguage;
|
||||
|
||||
// Register URI handler, not for mobileApp
|
||||
if (!window.cordova) {
|
||||
if (!isCordova) {
|
||||
$idle.watch();
|
||||
uriHandler.register();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue