Skip to content


dom/element: fix #id=
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 2, 2014
1 parent 7fd893a commit 8144d58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opal/browser/dom/element.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def id

alias_native :id=
def id=(value)
` = #{value.to_s}`

def inner_dom(&block)
# FIXME: when block passing is fixed
Expand Down

0 comments on commit 8144d58

Please sign in to comment.