Skip to content

Commit

Permalink
Fix for MSIE not supporting String.endsWith()
Browse files Browse the repository at this point in the history
  • Loading branch information
pieceofsummer committed Jun 5, 2018
1 parent 7be9349 commit cdc76d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hangfire.Console/Resources/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ $(function () {
$(this).removeClass("collapsed");
});

} else if (path.endsWith("/jobs/processing")) {
} else if (/\/jobs\/processing$/.test(path)) {
// execute scripts for /jobs/processing

Hangfire.page._jobProgressPoller = new Hangfire.JobProgressPoller();
Expand Down

0 comments on commit cdc76d2

Please sign in to comment.