From 00a675237958704ceea56b7e47a509e873d92705 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 9 Jun 2015 01:28:17 +0100 Subject: mobile: use .text instead of .html for numbers Signed-off-by: Olivier Gayot --- cao-mobile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cao-mobile.js') diff --git a/cao-mobile.js b/cao-mobile.js index 6776bb6..58c5354 100644 --- a/cao-mobile.js +++ b/cao-mobile.js @@ -107,10 +107,10 @@ $(document).ready(function() { cao.on_judge_needed = function() { $all.hide(); $become_judge.show(); + cao.on_updated_score = function(score) { + $score_value.text(score); }; - cao.on_updated_score = function(score) { - $score_value.html(score); }; cao.run(); -- cgit v1.2.3