summaryrefslogtreecommitdiffstats
path: root/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js')
-rw-r--r--third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js
index 0e57c14..96ade6b 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/candidate.js
@@ -90,6 +90,9 @@ Candidate.prototype.createDom = function() {
if (this.candidate['isEmoji']) {
goog.dom.classlist.add(elem, Css.EMOJI_FONT);
}
+ if (this.candidateType == Candidate.Type.NUMBER) {
+ goog.dom.classlist.add(elem, Css.CANDIDATE_NUMBER);
+ }
this.wrapper_ = dom.createDom('div', {
'class': Css.CANDIDATE_INTERNAL_WRAPPER
}, this.candidate[Name.CANDIDATE]);