Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1650)

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js

Issue 2903973002: Rich editable text implementation using spannables (Closed)
Patch Set: Text style. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
index 2f37148e546341894de9e297c0b66e29040bb99c..315a108352e469ef3bcca99e049a2c995d09b85c 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
@@ -752,7 +752,7 @@ Output.prototype = {
*/
get hasSpeech() {
for (var i = 0; i < this.speechBuffer_.length; i++) {
- if (this.speechBuffer_[i].trim().length)
+ if (this.speechBuffer_[i].length)
return true;
}
return false;

Powered by Google App Engine
This is Rietveld 408576698