From 03ffadb703dd8c1b44e1b56bb12396d067f61cae Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 15 Dec 2017 09:37:32 -0500 Subject: [PATCH] summary: Ignore invalid JSON data when loading page If the hash is e.g. `:class:*', it tries to parse it, which is invalid. There's a better solution to this problem, but I don't have time to test possibly messing this up right now. * src/current/scripts/entry-form.js (begin): Ignore JSON parsing errors. --- src/current/scripts/entry-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/scripts/entry-form.js b/src/current/scripts/entry-form.js index 4a54312a..76300c8f 100644 --- a/src/current/scripts/entry-form.js +++ b/src/current/scripts/entry-form.js @@ -2140,7 +2140,7 @@ var client = ( function() } catch ( e ) { - alert( 'Failed setting param values from URL.\n\n' + e.message ); + // probably not the type of data we're looking for; just ignore } }