|
|
@ -1,5 +1,5 @@ |
|
|
|
/* ---------------------------------- |
|
|
|
/* ---------------------------------- |
|
|
|
* POPOVER v1.0.0 |
|
|
|
* POPOVER v1.0.1 |
|
|
|
* Licensed under The MIT License |
|
|
|
* Licensed under The MIT License |
|
|
|
* http://opensource.org/licenses/MIT
|
|
|
|
* http://opensource.org/licenses/MIT
|
|
|
|
* ---------------------------------- */ |
|
|
|
* ---------------------------------- */ |
|
|
@ -39,7 +39,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; |
|
|
|
|
|
|
|
|
|
|
|