Last active
August 15, 2016 12:20
-
-
Save Yame-/00d388b2f5ac20a908eb to your computer and use it in GitHub Desktop.
Checking if a Mautic theme (Landing page or E-mail) is being edited through the Builder.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Checking if we are editting in the Mautic Builder. | |
if( $('.builder-active', window.parent.document).length ) { | |
// Do stuff here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment