Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js |
index 07fa9bd460fbde95365e2dc20d096313a24b2db6..c8a8a1792df8b67c6e0be4e8edf1c11440409154 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js |
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/live_regions.js |
@@ -404,7 +404,7 @@ cvox.LiveRegions.announceChange = function( |
// Set a category on the NavDescriptions - that way live regions |
// interrupt other live regions but not anything else. |
- navDescriptions.every(function(desc) { |
David Tseng
2014/08/29 16:55:23
I wonder if the Closure compiler can warn us of un
|
+ navDescriptions.forEach(function(desc) { |
if (!desc.category) { |
desc.category = 'live'; |
} |