Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js |
index a7236cddd27f0c14660574fb4def163cada58963..39e355bdd5ffb62ec7f0bb61da768608a456b33e 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js |
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_manager.js |
@@ -647,14 +647,14 @@ cvox.NavigationManager.prototype.speakDescriptionArray = function( |
opt_personality, |
opt_category) { |
if (opt_personality) { |
- descriptionArray.every(function(desc) { |
+ descriptionArray.forEach(function(desc) { |
if (!desc.personality) { |
desc.personality = opt_personality; |
} |
}); |
} |
if (opt_category) { |
- descriptionArray.every(function(desc) { |
+ descriptionArray.forEach(function(desc) { |
if (!desc.category) { |
desc.category = opt_category; |
} |