diff options
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r-- | chrome/browser/resources/media_common.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/media_common.js b/chrome/browser/resources/media_common.js index 412ccd9..8528809 100644 --- a/chrome/browser/resources/media_common.js +++ b/chrome/browser/resources/media_common.js @@ -7,7 +7,7 @@ function pathIsVideoFile(path) { } function pathIsAudioFile(path) { - return /\.(mp3|m4a)$/i.test(path); + return /\.(mp3|m4a|wav)$/i.test(path); } function pathIsImageFile(path) { @@ -15,5 +15,5 @@ function pathIsImageFile(path) { } function pathIsHtmlFile(path) { - return /\.(htm|html)$/i.test(path); + return /\.(htm|html|txt)$/i.test(path); } |