Enable history for dialog hash

This commit is contained in:
grafixeyehero 2021-05-05 23:40:51 +03:00
parent 2edf4661d5
commit e302fbfb73

View File

@ -379,7 +379,7 @@ import '../../assets/css/scrollstyles.scss';
dlg.setAttribute('data-lockscroll', 'true'); dlg.setAttribute('data-lockscroll', 'true');
} }
if (options.enableHistory === true) { if (options.enableHistory !== false) {
dlg.setAttribute('data-history', 'true'); dlg.setAttribute('data-history', 'true');
} }