rebuild dist bundle.
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
!function(){let e;function n(n){const t=document.querySelector("body > main").scrollHeight;if(e===t)return;e=t,window.parent.postMessage("resize:"+JSON.stringify({height:e}),"*")}n(),new ResizeObserver(n).observe(document.body)}();
|
window.initBlock=function(e="",n="",o){document.querySelectorAll(n).forEach((e=>o(e)))},function(){let e;function n(n){const o=document.querySelector("body > main").scrollHeight;if(e===o)return;e=o,window.parent.postMessage("resize:"+JSON.stringify({height:e}),"*")}n(),new ResizeObserver(n).observe(document.body)}();
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
window.initBlock = initBlock;
|
||||||
|
|
||||||
// Blocks Initialization.
|
// Blocks Initialization.
|
||||||
function initBlock(blockName = '', selector = '', cb) {
|
function initBlock(blockName = '', selector = '', cb) {
|
||||||
document.querySelectorAll(selector).forEach((el) => cb(el));
|
document.querySelectorAll(selector).forEach((el) => cb(el));
|
||||||
|
|||||||
Reference in New Issue
Block a user