Selaa lähdekoodia

Fix test page issue

Alex Dima 7 vuotta sitten
vanhempi
commit
6426199699
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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]();