mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 08:14:48 +02:00
fix recent refactoring bug
This commit is contained in:
parent
e1659ed520
commit
6fdae83f1b
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function AppUi(properties) {
|
|||
that.additionalAppScreens = [];
|
||||
that.checkIsOpen = function checkIsOpen(type, tabletUrl) { // Are we active? Value used to set isOpen.
|
||||
// Actual url may have prefix or suffix.
|
||||
return (type === that.currentVisibleScreenType) &&
|
||||
return
|
||||
that.currentVisibleUrl &&
|
||||
((that.home.indexOf(that.currentVisibleUrl) > -1) ||
|
||||
(that.additionalAppScreens.indexOf(that.currentVisibleUrl) > -1));
|
||||
|
|
Loading…
Reference in a new issue