Skip to content

Commit

Permalink
Merge pull request #76 from Markleford/patch-1
Browse files Browse the repository at this point in the history
Switch .innerText DOM output to .textContent
  • Loading branch information
Greg committed Apr 21, 2014
2 parents a353a7a + d54cec6 commit 74f9cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/chat/client/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ cloak.configure({
messages: {
chat: function(msg) {
var message = document.createElement('div');
message.innerText = msg;
message.textContent = msg;
message.className = 'msg';
messages.appendChild(message);
messages.scrollTop = messages.scrollHeight;
},
userCount: function(count) {
counter.innerText = count;
counter.textContent = count;
}
},
});
Expand Down

0 comments on commit 74f9cd2

Please sign in to comment.