Skip to content

Commit

Permalink
Video refresh link should be hidden when no video is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Jul 20, 2023
1 parent bb38a43 commit 69b675c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Limbo.Umbraco.YouTube/wwwroot/Views/Video.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h5><localize key="limboYouTube_urlOrEmbedCode">URL or embed code</localize></h5
<input type="text" ng-show="!vm.embed" ng-model="vm.value.source" ng-change="vm.updated()" placeholder="limboYouTube_urlPlaceholder" localize="placeholder" />
<textarea ng-show="vm.embed" ng-model="vm.value.source" ng-change="vm.updated()" rows="5"></textarea>
<div>
<button type="button" ng-click="vm.refresh()"><localize key="limboYouTube_refresh">Refresh current video</localize></button>
<button ng-if="vm.value.video" type="button" ng-click="vm.refresh()"><localize key="limboYouTube_refresh">Refresh current video</localize></button>
</div>
</div>
<div class="youtube-video-details" ng-show="vm.value.video">
Expand Down

0 comments on commit 69b675c

Please sign in to comment.