Ver Fonte

Fix test page issue

Alex Dima há 7 anos atrás
pai
commit
6426199699
1 ficheiros alterados com 1 adições e 0 exclusões
  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]();