Skip to content

Commit

Permalink
Update public.php: remove spurious );
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Dec 21, 2024
1 parent 027c5fc commit 53075b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/public.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getImage() {
if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
console.log('broken image: ', err);
}
});
}
}).finally(() => {
// Use tail recursion to trigger the next invocation after `$delay` milliseconds
setTimeout(function () { getImage(); }, <?php echo $delay ?>);
Expand Down

0 comments on commit 53075b7

Please sign in to comment.