More spacebar pausefixes

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-28 18:20:08 +02:00
parent 5c49e8d7bc
commit 44fc43d5c6
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1569,7 +1569,8 @@ $(document).keydown(function(event) {
!$("#chan_thumbnail").is(":focus") &&
!$("#chan_description").is(":focus") &&
!$("#contact-form-from").is(":focus") &&
!$("#contact-form-message").is(":focus")) {
!$("#contact-form-message").is(":focus") &&
!$("#remote_channel").is(":focus")) {
if(Player.player.getPlayerState() == 1) {
event.preventDefault();
Player.player.pauseVideo();