app/javascript/kpop/modals/frame_modal.js in katalyst-kpop-3.0.0.beta.3 vs app/javascript/kpop/modals/frame_modal.js in katalyst-kpop-3.0.0.beta.4

- old
+ new

@@ -11,12 +11,12 @@ async dismiss() { await super.dismiss(); if (!this.isCurrentLocation) { this.debug("skipping dismiss, not current location"); + } else { + await this.pop("turbo:load", () => window.history.back()); } - - await this.pop("turbo:load", () => window.history.back()); // no specific close action required, this is turbo's responsibility } beforeVisit(frame, e) {