Index: ui/keyboard/resources/elements/kb-keyboard.js |
diff --git a/ui/keyboard/resources/elements/kb-keyboard.js b/ui/keyboard/resources/elements/kb-keyboard.js |
index 9e0708ad2c6fd434a4432d0db0be6d4fae8b4c9a..654bf38000984591cac0ee8ca2ff081d7d1d3dac 100644 |
--- a/ui/keyboard/resources/elements/kb-keyboard.js |
+++ b/ui/keyboard/resources/elements/kb-keyboard.js |
@@ -770,7 +770,7 @@ Polymer('kb-keyboard', { |
* @param {Sound} sound The id of the audio tag. |
*/ |
playSound: function(sound) { |
- if (!sound || sound == Sound.NONE) |
+ if (!SOUND_ENABLED || !sound || sound == Sound.NONE) |
return; |
var pool = this.sounds[sound]; |
if (!pool) { |