✨ Add pick show button
This commit is contained in:
parent
057e728111
commit
606bba9c55
1 changed files with 5 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Trakt Show Picker
|
// @name Trakt Show Picker
|
||||||
// @namespace danielrayjones
|
// @namespace danielrayjones
|
||||||
// @version 0.0.6
|
// @version 0.0.7
|
||||||
// @description Pick a show from progress page
|
// @description Pick a show from progress page
|
||||||
// @author Dan Jones
|
// @author Dan Jones
|
||||||
// @match https://trakt.tv/users/*/progress*
|
// @match https://trakt.tv/users/*/progress*
|
||||||
|
|
@ -21,6 +21,10 @@
|
||||||
cheat: pickShow
|
cheat: pickShow
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.subnav-wrapper .container .left')
|
||||||
|
.append('<span class="filter-dropdown pick-episode" title="Pick Episode"><span class="icon trakt-icon-bars"></span></span>')
|
||||||
|
.find('.pick-episode').on('click', pickShow);
|
||||||
|
|
||||||
$('div[data-type="show"]').on('click', function () {
|
$('div[data-type="show"]').on('click', function () {
|
||||||
$(this).removeClass('sortable-ghost');
|
$(this).removeClass('sortable-ghost');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue