Browse Source

Added else if for future error prevention

pull/730/head
Jurie-Jan Botha 10 years ago
parent
commit
85de75ebb3
  1. 2
      js/modals.js

2
js/modals.js

@ -37,7 +37,7 @@
if (modalSelector) {
return document.querySelector(modalSelector);
}
if (modalToggle.hash) {
else if (modalToggle.hash) {
try {
return document.querySelector(modalToggle.hash);
}

Loading…
Cancel
Save