Permalink
Browse files

Fix the log in Opera. Fixes #5.

  • Loading branch information...
ajanata committed Mar 23, 2012
1 parent d3178c1 commit bc4f0818f18f106e92590c4510210fc28847ef58
Showing with 1 addition and 1 deletion.
  1. +1 −1 WebContent/js/cah.log.js
View
@@ -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);
}

0 comments on commit bc4f081

Please sign in to comment.