remove hash from request url

This commit is contained in:
igoradamenko
2018-04-30 07:38:20 +03:00
parent 16696de99b
commit 4fee1c28b8
+1 -1
View File
@@ -26,7 +26,7 @@ function init() {
return;
}
remark_config.url = remark_config.url || window.location.href;
remark_config.url = (remark_config.url || window.location.href).split('#')[0];
const query = Object.keys(remark_config)
.map(key => `${encodeURIComponent(key)}=${encodeURIComponent(remark_config[key])}`)