From f05aab0109bebaf42e6d5331281200858502ce0b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 16 Apr 2012 19:02:16 +0200 Subject: [PATCH] Work around chrome bug with the exclamation symbol. --- web/js/010-libphotofloat.js | 2 ++ 1 file changed, 2 insertions(+) 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