diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-11-25 17:38:08 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-11-25 17:38:08 -0500 |
| commit | e664d4d5a8ef7a475773b4a9760022b4d87d27a3 (patch) | |
| tree | 4d7c9f7421fb35151a8f4c982bf3c738438ffa27 | |
| parent | 786853268402e42ce7f6767f05b40fd2928a00b4 (diff) | |
removed mp4 for non desktop #384
| -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>--> |
