diff options
author | Jez Ng <me@jezng.com> | 2013-07-09 11:17:20 -0700 |
---|---|---|
committer | Jez Ng <me@jezng.com> | 2013-07-09 20:42:13 -0700 |
commit | 4dff05193729be353a6d80e83c4f5e1a108d9512 (patch) | |
tree | aa27238578a70ed1c6a3809b6275b3ca3f68ea0c /src/library_browser.js | |
parent | 5d3ff92c55b8830c5f1c670a252107d3e8cded60 (diff) |
Bunch of changes to support Syobon Action.
Diffstat (limited to 'src/library_browser.js')
-rw-r--r-- | src/library_browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index d9fd3ee5..822e99d6 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -84,7 +84,7 @@ mergeInto(LibraryManager.library, { var imagePlugin = {}; imagePlugin['canHandle'] = function(name) { - return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/.exec(name); + return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name); }; imagePlugin['handle'] = function(byteArray, name, onload, onerror) { var b = null; |