Skip to content

Commit

Permalink
Bump build
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismccord committed Jul 17, 2023
1 parent 9f0e3ab commit f907037
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 20 deletions.
12 changes: 7 additions & 5 deletions priv/static/phoenix_live_view.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.cjs.js.map

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions priv/static/phoenix_live_view.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix_live_view.esm.js.map

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions priv/static/phoenix_live_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -3966,7 +3966,7 @@ within:
dom_default.findPhxSticky(document).forEach((el) => newMainEl.appendChild(el));
this.outgoingMainEl.replaceWith(newMainEl);
this.outgoingMainEl = null;
callback && requestAnimationFrame(callback);
callback && requestAnimationFrame(() => callback(linkRef));
onDone();
});
}
Expand Down Expand Up @@ -4339,10 +4339,12 @@ within:
}
let scroll = window.scrollY;
this.withPageLoading({ to: href, kind: "redirect" }, (done) => {
this.replaceMain(href, flash, () => {
browser_default.pushState(linkState, { type: "redirect", id: this.main.id, scroll }, href);
dom_default.dispatchEvent(window, "phx:navigate", { detail: { href, patch: false, pop: false } });
this.registerNewLocation(window.location);
this.replaceMain(href, flash, (linkRef) => {
if (linkRef === this.linkRef) {
browser_default.pushState(linkState, { type: "redirect", id: this.main.id, scroll }, href);
dom_default.dispatchEvent(window, "phx:navigate", { detail: { href, patch: false, pop: false } });
this.registerNewLocation(window.location);
}
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion priv/static/phoenix_live_view.min.js

Large diffs are not rendered by default.

0 comments on commit f907037

Please sign in to comment.