Skip to content

Commit

Permalink
Fixed the download button.
Browse files Browse the repository at this point in the history
Added dynamic binding of click events.
  • Loading branch information
p0psicles committed Feb 27, 2016
1 parent f9c334f commit cc51e91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gui/slick/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -2449,7 +2449,7 @@ var SICKRAGE = {
});
};

$('input.manualSearchButton').on('click', function(event){
$('body').on('click', '.manualSearchButton', function(event){
event.preventDefault();
var show = $(this).attr('data-show');
var season = $(this).attr('data-season');
Expand All @@ -2463,7 +2463,7 @@ var SICKRAGE = {
);
});

$('a.epManualSnatch').on('click', function(event){
$('body').on('click', '.epManualSnatch', function(event){
event.preventDefault();
var link = this;
$.getJSON(this.href,
Expand Down
Loading

0 comments on commit cc51e91

Please sign in to comment.