| Index: third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
|
| diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
|
| index 479db6b036d51eabf6b15531223aeb6eb7d1ed77..6abb137ca085af31eed913931039be6d9468cd35 100644
|
| --- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
|
| +++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
|
| @@ -147,12 +147,13 @@ SpaceKey.prototype.getCharacter = function() {
|
| * @param {boolean} visible True to set title visible.
|
| */
|
| SpaceKey.prototype.updateTitle = function(title, visible) {
|
| - if (this.textElem) {
|
| - this.text = title;
|
| - goog.dom.setTextContent(this.textElem, visible ? title : '');
|
| - goog.dom.classlist.add(this.textElem,
|
| - i18n.input.chrome.inputview.Css.TITLE);
|
| + if (this.iconCss_) {
|
| + return;
|
| }
|
| + this.text = title;
|
| + goog.dom.setTextContent(this.wrapper_, visible ? title : '');
|
| + goog.dom.classlist.add(this.wrapper_,
|
| + i18n.input.chrome.inputview.Css.TITLE);
|
| };
|
|
|
|
|
|
|