mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

function fwp_fix_focuson() {
?>
<script>
(function($) {
$(document).on(‘facetwp-loaded’, function() {
$(‘body’).addClass(‘vc_editor lazy’);
});
})(jQuery);
</script>
<?php
}
add_action( ‘wp_head’, ‘fwp_fix_focuson’, 100 );
{{/gist}}