jzed
jzed copied to clipboard
$replace_with argument mismatch
Just glanced through the source - unless I'm missing something here, string should really be newhtml.
function $replace_with(node, newhtml) {
node.outerHTML = string;
}