Skip to content

Commit

Permalink
Fix the log in Opera. Fixes #5.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanata committed Mar 23, 2012
1 parent d3178c1 commit bc4f081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/js/cah.log.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cah.log.status = function(text, opt_class) {
var scroll = $("#log").prop("scrollHeight") - $("#log").height() - $("#log").prop("scrollTop") <= 5;

var node = $("<span></span><br/>");
$(node).text("[" + new Date().toLocaleTimeString() + "] " + text + "\n");
$(node[0]).text("[" + new Date().toLocaleTimeString() + "] " + text + "\n");
if (opt_class) {
$(node).addClass(opt_class);
}
Expand Down

0 comments on commit bc4f081

Please sign in to comment.