xuijs / xui

A tiny javascript framework for mobile web apps.

Home Page:http://xuijs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.html() fails on writing two attributes when passed an argument

omar-jalalzada opened this issue · comments

Writing the following code:

x$("#miniCartHeader").html('top', "<a id='closeCart' onclick='miniCart.hideCart()'>X</a>");

Prints the following:

<div id="miniCartHeader">
<a id="closeCart onclic">X</a>

</div>

I added a test in f730dab but cannot reproduce.

Which version of xui and also which browser/device do you see the issue with?