Skip to content

Commit

Permalink
Error without restore sets to new fallback image
Browse files Browse the repository at this point in the history
  • Loading branch information
verlok committed Apr 10, 2022
1 parent 9fa05c3 commit 15d392d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/error_no_restore.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ <h1>Error, no restore</h1>
};
var callback_error = function (element) {
logElementEvent("💀 ERROR", element);
element.src = "https://via.placeholder.com/440x560/?text=Error";
};
var callback_finish = function () {
logElementEvent("✔️ FINISHED", document.documentElement);
Expand Down

0 comments on commit 15d392d

Please sign in to comment.