Created
December 7, 2015 22:01
-
-
Save ericakfranz/49d048195a28917d9081 to your computer and use it in GitHub Desktop.
Write to the console when a manually-triggered OM optin fails to load into the DOM as expected.
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
jQuery(document).ready( function($){ | |
$(document).on('OptinMonsterManualOptinError', function( event, data, object ){ | |
console.log("Oops! There was a problem loading the " + data.optin + '-' + data.type + " manual-trigger optin on this page."); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment