Index: third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js |
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js |
index 7a973aeae7b46f21f43cce3457336e4da154b94c..1ebb24bee39dd52a50652b57b7606b5e80a8fad3 100644 |
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js |
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js |
@@ -117,9 +117,10 @@ ModifierKey.prototype.createDom = function() { |
ModifierKey.prototype.update = function() { |
var isStateEnabled = this.stateManager_.hasState(this.toState); |
var isSticky = this.stateManager_.isSticky(this.toState); |
+ var isFinalSticky = this.stateManager_.isFinalSticky(this.toState); |
this.setHighlighted(isStateEnabled); |
if (this.dotIcon_) { |
- if (isStateEnabled && isSticky) { |
+ if (isStateEnabled && isSticky && isFinalSticky) { |
goog.dom.classlist.add(this.dotIcon_, |
i18n.input.chrome.inputview.Css.CAPSLOCK_DOT_HIGHLIGHT); |
} else { |