Fixed bug where assigning to html clobbered click