Browse Source

Merge branch 'master' of https://github.com/akholodenko/ratchet into akholodenko-master

pull/231/head
connors 11 years ago
parent
commit
1696f257c1
  1. 7
      dist/ratchet.js

7
dist/ratchet.js vendored

@ -76,7 +76,14 @@
if (!anchor || !anchor.hash) return; if (!anchor || !anchor.hash) return;
try{
popover = document.querySelector(anchor.hash); popover = document.querySelector(anchor.hash);
}
catch (error) {
popover = null;
}
if (popover == null) return;
if (!popover || !popover.classList.contains('popover')) return; if (!popover || !popover.classList.contains('popover')) return;

Loading…
Cancel
Save