diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-04-16 19:02:16 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-04-16 19:04:23 +0200 |
commit | f05aab0109bebaf42e6d5331281200858502ce0b (patch) | |
tree | 75c6cd086a8c9a90d7fe7745012a5527bb2bc9dc /web/js | |
parent | Sometimes exif strings are null terminated, and python imagining library doesn't deal with that for us. (diff) | |
download | PhotoFloat-f05aab0109bebaf42e6d5331281200858502ce0b.tar.xz PhotoFloat-f05aab0109bebaf42e6d5331281200858502ce0b.zip |
Work around chrome bug with the exclamation symbol.
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/010-libphotofloat.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/js/010-libphotofloat.js b/web/js/010-libphotofloat.js index 7a3ced0..f716ca7 100644 --- a/web/js/010-libphotofloat.js +++ b/web/js/010-libphotofloat.js @@ -145,6 +145,8 @@ hash = hash.substring(1); else if (hash[0] === "/") hash = hash.substring(1); + else if (hash.substring(0, 3) === "%21") + hash = hash.substring(3); else if (hash[hash.length - 1] === "/") hash = hash.substring(0, hash.length - 1); else |