Skip to content
Snippets Groups Projects
Commit f6678546 authored by Sean Adams-Hiett's avatar Sean Adams-Hiett
Browse files

Need to use jquery to use .click().

parent 058c724f
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
var $directAddWidgets = once('.layout-builder__add-block', 'lb_direct_add', context);
if ($directAddWidgets.length) {
var $body = once('body', 'lb_direct_add-click', context);
var $body = $(once('body', 'lb_direct_add-click', context));
if ($body.length) {
$body.on('click', '.layout-builder__direct-add__toggle', directAddClickHandler);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment