fixed exception on site change
This commit is contained in:
parent
299bb15b4d
commit
5d8228327c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if (pride)
|
|||
|
||||
$(function () {
|
||||
let openModals = function (hash) {
|
||||
if (hash && hash.length > 1) {
|
||||
if (hash && hash.startsWith("#")) {
|
||||
let modal = $(`${hash}-modal`);
|
||||
if (modal.length)
|
||||
modal.modal('show');
|
||||
|
|
Loading…
Reference in a new issue