diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-09 01:28:17 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-09 01:28:17 +0100 |
commit | 00a675237958704ceea56b7e47a509e873d92705 (patch) | |
tree | b74928a84f2740994a6e1d41cbd7ac40ac66326e /cao-mobile.js | |
parent | b8c045e0bbca22e2283aaeb7fc75cb7f19ab1303 (diff) |
mobile: use .text instead of .html for numbers
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'cao-mobile.js')
-rw-r--r-- | cao-mobile.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |