From b401276c531900bc49b25a3fd5de90c7336219e0 Mon Sep 17 00:00:00 2001 From: Franzz Date: Sat, 7 Dec 2019 14:03:04 +0100 Subject: [PATCH] Fix hash parsing --- jquery/databap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/databap.js b/jquery/databap.js index c1d5067..e19f2ff 100755 --- a/jquery/databap.js +++ b/jquery/databap.js @@ -96,7 +96,7 @@ function Databap() this.hash = function(hash) { - if(!hash) return window.location.hash.slice(1); + if(!hash) return decodeURIComponent(window.location.hash.slice(1)); else { window.location.hash = (hash.substr(0, 1)=='#'?'':'#')+hash;