Skip to content

Instantly share code, notes, and snippets.

@leepettijohn
Created March 9, 2021 13:34
Show Gist options
  • Save leepettijohn/3cfb06b3fa87729e8d34e30a4f38e63c to your computer and use it in GitHub Desktop.
Save leepettijohn/3cfb06b3fa87729e8d34e30a4f38e63c to your computer and use it in GitHub Desktop.
Divi - Disable jquery in Visual Builder
jQuery(document).ready(function($){
var isvisbuild = $('.et-fb-iframe-ancestor').length;
if (isvisbuild == 0){
// code to not run
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment