Always push history for modal back behavior

This commit is contained in:
Your Name 2025-12-26 02:32:21 -05:00
parent f6cda99b4c
commit 453e17b6eb
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ export function openCenteredOverlay({ map, post, theme, fullScreen = false }) {
let onPop = null; let onPop = null;
let historyPushed = false; let historyPushed = false;
if (fullScreen && postID) { if (postID) {
try { try {
const url = `/?post_id=${postID}`; const url = `/?post_id=${postID}`;
const state = window.history.state || {}; const state = window.history.state || {};