Skip to content

Commit ff43e74

Browse files
Update javascript.js
1 parent c92eba3 commit ff43e74

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

javascript.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,11 @@ $('[data-mega-menu]').each(function(){
224224
new MegaMenu(link, menu, menuClone, headerLinkTrigger, clickthrough, animation, action, showClose, mobileMenuType);
225225
$('body').addClass('tweak-wm-mega-menu');
226226
/*Activate Shape Blocks*/
227-
$(function() { Squarespace?.initializePageContent(Y) });
227+
$(function() {
228+
Y.all('.wm-mega-menu-item').each(function(node) {
229+
window.Squarespace.initializeLayoutBlocks(Y, node);
230+
});
231+
});
228232
});
229233

230234
/*First Present At All*/

0 commit comments

Comments
 (0)