소스 검색

Fix test page issue

Alex Dima 7 년 전
부모
커밋
6426199699
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      test/index.js

+ 1 - 0
test/index.js

@@ -74,6 +74,7 @@ window.setTimeout(function () {
 
 	if (location.hash) {
 		START_SAMPLE = location.hash.replace(/^\#/, '');
+		START_SAMPLE = decodeURIComponent(START_SAMPLE);
 	}
 
 	samplesData[START_SAMPLE]();