diff --git a/src/General/$.coffee b/src/General/$.coffee index ae0382f4b..85ead1f25 100644 --- a/src/General/$.coffee +++ b/src/General/$.coffee @@ -202,9 +202,10 @@ $.before = (root, el) -> $.replace = (root, el) -> root.parentNode.replaceChild $.nodes(el), root -$.el = (tag, properties) -> +$.el = (tag, properties, properties2) -> el = d.createElement tag - $.extend el, properties if properties + $.extend el, properties if properties + $.extend el, properties2 if properties2 el $.on = (el, events, handler) ->