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

selenium-screenshot-testing
Kevin Chung 2018-05-20 00:25:17 -04:00 committed by GitHub
parent 4d6bf811ed
commit 38416ce5c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)));
}
};