Skip to content

Commit 698426d

Browse files
authored
Update play_control.js
1 parent 0aae1f4 commit 698426d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/app/lib/views/loading.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
var that = this;
5656
App.vent.trigger('settings:close');
5757
App.vent.trigger('about:close');
58-
$('.button:not(#download-torrent), .show-details .sdo-watch, .sdow-watchnow, .show-details #download-torrent, .file-item, .file-item a, .result-item, .collection-paste, .collection-import, .seedbox .item-play, #torrent-list .item-row, #torrent-show-list .item-row').addClass('disabled');
58+
$('.movie-detail .button:not(#download-torrent), .show-details .sdo-watch, .sdow-watchnow, .show-details #download-torrent, .file-item, .file-item a, .result-item, .collection-paste, .collection-import, .seedbox .item-play, #torrent-list .item-row, #torrent-show-list .item-row').addClass('disabled');
5959
$('#watch-now, #watch-trailer, .playerchoice, .file-item, .file-item a, .result-item, .result-item > *:not(.item-icon), .seedbox .item-play, #torrent-list .item-play, #torrent-show-list .item-play').prop('disabled', true);
6060
// If a child was removed from above this view
6161
App.vent.on('viewstack:pop', function() {
@@ -403,7 +403,7 @@
403403
onBeforeDestroy: function() {
404404
$('.filter-bar').show();
405405
$('#header').removeClass('header-shadow');
406-
$('.button, #watch-now, .show-details .sdo-watch, .sdow-watchnow, .playerchoice, .file-item, .file-item a, .result-item, .result-item > *:not(.item-icon), .trash-torrent, .collection-paste, .collection-import, .seedbox .item-play, .seedbox .exit-when-done, #torrent-list .item-row, #torrent-show-list .item-row, #torrent-list .item-play, #torrent-show-list .item-play').removeClass('disabled').removeProp('disabled');
406+
$('.movie-detail .button, #watch-now, .show-details .sdo-watch, .sdow-watchnow, .playerchoice, .file-item, .file-item a, .result-item, .result-item > *:not(.item-icon), .trash-torrent, .collection-paste, .collection-import, .seedbox .item-play, .seedbox .exit-when-done, #torrent-list .item-row, #torrent-show-list .item-row, #torrent-list .item-play, #torrent-show-list .item-play').removeClass('disabled').removeProp('disabled');
407407
Mousetrap.bind(['esc', 'backspace'], function(e) {
408408
App.vent.trigger('show:closeDetail');
409409
App.vent.trigger('movie:closeDetail');

src/app/lib/views/play_control.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
$('.playerchoicerefresh, .playerchoicehelp').tooltip({html: true, delay: {'show': 800,'hide': 100}});
7878

7979
if ($('.loading .maximize-icon').is(':visible') || $('.player .maximize-icon').is(':visible')) {
80-
$('.button:not(#download-torrent)').addClass('disabled');
80+
$('.movie-detail .button:not(#download-torrent)').addClass('disabled');
8181
$('#watch-now, #watch-trailer, .playerchoice').prop('disabled', true);
8282
}
8383
},

src/app/lib/views/player.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436
$('#player_drag').show();
437437
var that = this;
438438

439-
$('.button:not(#download-torrent), .show-details .sdo-watch, .sdow-watchnow, .show-details #download-torrent, .file-item, .file-item a, .result-item, .collection-paste, .collection-import, .seedbox .item-play, #torrent-list .item-row, #torrent-show-list .item-row').addClass('disabled');
439+
$('.movie-detail .button:not(#download-torrent), .show-details .sdo-watch, .sdow-watchnow, .show-details #download-torrent, .file-item, .file-item a, .result-item, .collection-paste, .collection-import, .seedbox .item-play, #torrent-list .item-row, #torrent-show-list .item-row').addClass('disabled');
440440
$('#watch-now, #watch-trailer, .playerchoice, .file-item, .file-item a, .result-item, .result-item > *:not(.item-icon), .seedbox .item-play, #torrent-list .item-play, #torrent-show-list .item-play').prop('disabled', true);
441441

442442
// Double Click to toggle Fullscreen
@@ -1273,7 +1273,7 @@
12731273
if (this.inFullscreen && !win.isFullscreen) {
12741274
$('.btn-os.fullscreen').removeClass('active');
12751275
}
1276-
$('.button, #watch-now, .show-details .sdo-watch, .sdow-watchnow, .playerchoice, .file-item, .file-item a, .result-item, .result-item > *:not(.item-icon), .trash-torrent, .collection-paste, .collection-import, .seedbox .item-play, .seedbox .exit-when-done, #torrent-list .item-row, #torrent-show-list .item-row, #torrent-list .item-play, #torrent-show-list .item-play').removeClass('disabled').removeProp('disabled');
1276+
$('.movie-detail .button, #watch-now, .show-details .sdo-watch, .sdow-watchnow, .playerchoice, .file-item, .file-item a, .result-item, .result-item > *:not(.item-icon), .trash-torrent, .collection-paste, .collection-import, .seedbox .item-play, .seedbox .exit-when-done, #torrent-list .item-row, #torrent-show-list .item-row, #torrent-list .item-play, #torrent-show-list .item-play').removeClass('disabled').removeProp('disabled');
12771277
this.unbindKeyboardShortcuts();
12781278
Mousetrap.bind('ctrl+v', function (e) {
12791279
});

0 commit comments

Comments
 (0)