Skip to content

Commit 1587a79

Browse files
authored
Continue button not having the correct link
1 parent 31cc39f commit 1587a79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/js/queuedjobprogressfield.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ window.jQuery.entwine("ss", ($) => {
1111
continueLink.addClass("failed");
1212
continueLink.text("Back");
1313

14-
if (continueLink.data("data-failure-href")) {
14+
if (continueLink.attr("data-failure-href")) {
1515
continueLink.attr(
1616
"href",
17-
continueLink.data("data-failure-href")
17+
continueLink.attr("data-failure-href")
1818
);
1919
}
2020

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

28-
if (continueLink.data("data-success-href")) {
28+
if (continueLink.attr("data-success-href")) {
2929
continueLink.attr(
3030
"href",
31-
continueLink.data("data-success-href")
31+
continueLink.attr("data-success-href")
3232
);
3333
}
3434

0 commit comments

Comments
 (0)