|
55 | 55 | var that = this;
|
56 | 56 | App.vent.trigger('settings:close');
|
57 | 57 | 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'); |
59 | 59 | $('#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);
|
60 | 60 | // If a child was removed from above this view
|
61 | 61 | App.vent.on('viewstack:pop', function() {
|
|
403 | 403 | onBeforeDestroy: function() {
|
404 | 404 | $('.filter-bar').show();
|
405 | 405 | $('#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'); |
407 | 407 | Mousetrap.bind(['esc', 'backspace'], function(e) {
|
408 | 408 | App.vent.trigger('show:closeDetail');
|
409 | 409 | App.vent.trigger('movie:closeDetail');
|
|
0 commit comments