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

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

Issue 2903973002: Rich editable text implementation using spannables (Closed)
Patch Set: wip 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 aa5da8aabb79ceb8873d6eb8ea6f0c8d4d932053..50183465df887c7862ed392696a99960acbf9c99 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
@@ -751,7 +751,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