Always push history for modal back behavior
This commit is contained in:
parent
f6cda99b4c
commit
453e17b6eb
|
|
@ -526,7 +526,7 @@ export function openCenteredOverlay({ map, post, theme, fullScreen = false }) {
|
|||
|
||||
let onPop = null;
|
||||
let historyPushed = false;
|
||||
if (fullScreen && postID) {
|
||||
if (postID) {
|
||||
try {
|
||||
const url = `/?post_id=${postID}`;
|
||||
const state = window.history.state || {};
|
||||
|
|
|
|||
Loading…
Reference in New Issue