Skip to content

Commit

Permalink
Move "click" to text instead of number and change cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
vBm committed Mar 17, 2015
1 parent d7ab716 commit 578325a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions remaining.episodes.followshows.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ $('#stats').append(
}),
$('<div>').attr({
class: 'title'
}).text('EPISODES TO WATCH')
}).css(
'cursor', 'pointer'
).click(
function() {
prompt('Total count:', textPrep());
}
).text('EPISODES TO WATCH')
)
);

Expand All @@ -45,10 +51,7 @@ if (!$('a.btn-follow-user').attr('user')) {
totalEpisodesSum = totalEpisodes.reduce(function(a, b) {
return a + b;
});
$('.addic7ed').text(totalEpisodesSum).click(
function() {
prompt('Total count:', textPrep());
});
$('.addic7ed').text(totalEpisodesSum);
} else {
$('.addic7ed').text('N/A');
}
Expand Down

0 comments on commit 578325a

Please sign in to comment.