Fix load_location_hash when there are spaces in the challenge name (#634)

This commit is contained in:
Kevin Chung
2018-05-20 00:25:17 -04:00
committed by GitHub
parent 4d6bf811ed
commit 38416ce5c6

View File

@@ -362,7 +362,7 @@ $.extend({
var load_location_hash = function () {
if (window.location.hash.length > 0) {
loadchalbyname(window.location.hash.substring(1));
loadchalbyname(decodeURIComponent(window.location.hash.substring(1)));
}
};