Skip to content

Instantly share code, notes, and snippets.

@martinjlowm
Created January 23, 2012 10:55
Show Gist options
  • Save martinjlowm/1662477 to your computer and use it in GitHub Desktop.
Save martinjlowm/1662477 to your computer and use it in GitHub Desktop.
JQuery implementation of Mercury settings (bottom part)
$(window).bind('mercury:ready', function() {
var content = $('#mercury_iframe').contents().find('#content');
Mercury.saveMethod = content.data('save-method');
Mercury.saveURL = content.data('save-url');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment