浏览代码

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]();