830f1423 by Michael Richards

Favor the use of textContent over innerText for the text binder.

1 parent b6deb70c
...@@ -57,10 +57,10 @@ Rivets.binders.value = ...@@ -57,10 +57,10 @@ Rivets.binders.value =
57 el.value = if value? then value else '' 57 el.value = if value? then value else ''
58 58
59 Rivets.binders.text = (el, value) -> 59 Rivets.binders.text = (el, value) ->
60 if el.innerText? 60 if el.textContent?
61 el.innerText = if value? then value else ''
62 else
63 el.textContent = if value? then value else '' 61 el.textContent = if value? then value else ''
62 else
63 el.innerText = if value? then value else ''
64 64
65 Rivets.binders.if = 65 Rivets.binders.if =
66 block: true 66 block: true
......