Browse Source

fixed exception on site change

pull/2/head
Ellpeck 10 months ago
parent
commit
5d8228327c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/main.js

+ 1
- 1
scripts/main.js View File

@ -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…
Cancel
Save