diff options
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events-modal.html | 4 | ||||
| -rw-r--r-- | www/templates/monitors-modal.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index a09a5575..675a812d 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -1,4 +1,4 @@ -<div ng-controller="ModalCtrl"> +<div ng-controller="ModalCtrl" ng-cloak> <!-- style="width: 90%; height: 90%; top: 5%; left: 5%; right: 5%; bottom: 5%;"--> <ion-modal-view cache-view="false"> <ion-content style="background-color:#444444" ng-cloak> @@ -41,7 +41,7 @@ </div> <!-- no default video --> - <div ng-if="defaultVideo!='' && loginData.enableh264 == true"> + <div ng-if="defaultVideo!==undefined && defaultVideo!='' && loginData.enableh264 == true"> <div> <videogular vg-theme="videoObject.config.theme" vg-complete="playbackFinished()"> <vg-controls> diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index ee58fb63..12996f5c 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -1,5 +1,5 @@ -<div ng-controller="ModalCtrl"> +<div ng-controller="ModalCtrl" ng-cloak> <!--style="background-color:#444444;width: 90%; height: 90%; top: 5%; left: 5%; right: 5%; bottom: 5%;"--> |
