Fix issue with pause on click with legacy player

This commit is contained in:
PrestonN 2019-06-12 19:52:21 -04:00
parent 949d84ee98
commit 30d808e075
2 changed files with 3 additions and 9 deletions

View File

@ -66,14 +66,8 @@ let showComments = function (event, continuation = '') {
*/
let playPauseVideo = function (event) {
let el = event.currentTarget;
if (el.paused) {
el.play();
if($('.videoPlayer').is(':hover')) {
$('.videoPlayer')[0].style.cursor = 'none';
}
}
else {
el.pause();
if (el.paused && $('.videoPlayer').is(':hover')) {
$('.videoPlayer')[0].style.cursor = 'none';
}
};

View File

@ -66,5 +66,5 @@ function checkForNewUpdate() {
}
const openReleasePage = function () {
shell.openExternal('https://github.com/FreeTubeApp/FreeTube/releases');
shell.openExternal('https://freetubeapp.io/#download');
}