Ver código fonte

Merge pull request #4866 from aWeirdo/patch-22

Update index.js
David Catuhe 7 anos atrás
pai
commit
7b935f475c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Playground/js/index.js

+ 1 - 1
Playground/js/index.js

@@ -170,7 +170,7 @@ function showError(errorMessage, errorEvent) {
         var zipCode;
         BABYLON.Engine.ShadersRepository = "/src/Shaders/";
 
-        if (location.href.indexOf("indexstable") !== -1) {
+        if (location.href.indexOf("indexStable") !== -1) {
             setToMultipleID("currentVersion", "innerHTML", "Version: Stable");
         } else {
             setToMultipleID("currentVersion", "innerHTML", "Version: Latest");