added resize observer polyfill
This commit is contained in:
parent
27797ab2a9
commit
e6f9284034
@ -1395,7 +1395,7 @@ customElements.define('sm-popup', class extends HTMLElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
resizeObserver.observe(this);
|
this.resizeObserver.observe(this);
|
||||||
|
|
||||||
this.mutationObserver = new MutationObserver(entries => {
|
this.mutationObserver = new MutationObserver(entries => {
|
||||||
this.updateFocusableList()
|
this.updateFocusableList()
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
<script src="purify.min.js" defer></script>
|
<script src="purify.min.js" defer></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.4.6" defer></script>
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.4.6" defer></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/resize-observer-polyfill@1.5.1/dist/ResizeObserver.min.js"></script>
|
||||||
<script id="floGlobals">
|
<script id="floGlobals">
|
||||||
/* Constants for FLO blockchain operations !!Make sure to add this at begining!! */
|
/* Constants for FLO blockchain operations !!Make sure to add this at begining!! */
|
||||||
const floGlobals = {
|
const floGlobals = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user