Skip to content

Commit

Permalink
Continue button not having the correct link
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr authored May 25, 2021
1 parent 31cc39f commit 1587a79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/js/queuedjobprogressfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ window.jQuery.entwine("ss", ($) => {
continueLink.addClass("failed");
continueLink.text("Back");

if (continueLink.data("data-failure-href")) {
if (continueLink.attr("data-failure-href")) {
continueLink.attr(
"href",
continueLink.data("data-failure-href")
continueLink.attr("data-failure-href")
);
}

Expand All @@ -25,10 +25,10 @@ window.jQuery.entwine("ss", ($) => {
continueLink.removeClass("failed");
continueLink.text("Continue");

if (continueLink.data("data-success-href")) {
if (continueLink.attr("data-success-href")) {
continueLink.attr(
"href",
continueLink.data("data-success-href")
continueLink.attr("data-success-href")
);
}

Expand Down

0 comments on commit 1587a79

Please sign in to comment.