diff options
| -rw-r--r-- | www/templates/events.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index 6917dec8..9d4f6b49 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -69,7 +69,7 @@ - <a ng-if="event.Event.DefaultVideo!='' && $root.platformOS=='desktop' " class="button button-clear button-small icon mp4-icon" href="{{event.Event.videoPath}}" download="{{event.Event.Id}}-video.mp4" ng-click="mp4warning()"></a> + <a ng-if="(event.Event.DefaultVideo!='' && event.Event.DefaultVideo!==undefined) && $root.platformOS=='desktop' " class="button button-clear button-small icon mp4-icon" href="{{event.Event.videoPath}}" download="{{event.Event.Id}}-video.mp4" ng-click="mp4warning()"></a> <!--<button ng-if="event.Event.DefaultVideo!='' && $root.platformOS!='desktop'" class="button button-small button-clear icon mp4-icon" ng-click="downloadFileToDevice(event.Event.videoPath)"> </button>--> |
