jzed
jzed copied to clipboard
Pass tag param to createElement, not string literal
This is the bug I was telling you about.
$new always returns a div element when I think the intention is to return whatever element is represented by the tag parameter.