Created
March 5, 2013 17:36
-
-
Save MarcDiethelm/5092189 to your computer and use it in GitHub Desktop.
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
/* | |
* Find all the divs with IDs that start with the "ceid_" prefix and add the "liveEditElement" class to them. | |
*/ | |
(function() { | |
if (typeof window.jQuery == 'undefined') { | |
setTimeout(arguments.callee, 100); | |
} else { | |
$('div[id^="ceid_"]').addClass('liveEditElement'); | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment