Skip to content

Instantly share code, notes, and snippets.

@thorstenfriesen
thorstenfriesen / gist:5574702
Created May 14, 2013 09:14
Workaround to unbind the event listeners for the agreement checkboxes
$$('.checkout-agreements p.agree').each(function(item){
var agreementsBlock = $(item);
if(agreementsBlock != undefined) {
agreementsBlock.replace('<p class="agree">' + agreementsBlock.innerHTML + '</p>');
}
});