Skip to content

Commit

Permalink
Merge pull request ppy#11660 from notbakaneko/ujs-redirect-workaround
Browse files Browse the repository at this point in the history
Workaround ujs redirect not redirecting
  • Loading branch information
peppy authored Nov 15, 2024
2 parents b8f1ee6 + c8dfa67 commit 681f50a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/layout/ujs-redirect.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
See the LICENCE file in the repository root for full licence text.
--}}
;(function() {
$(document).off(".ujsHideLoadingOverlay")
Turbo.visit({!! json_encode($url) !!})
$(document).off(".ujsHideLoadingOverlay");
window.setTimeout(() => Turbo.visit({!! json_encode($url) !!}), 0);
}).call(this);

0 comments on commit 681f50a

Please sign in to comment.