Просмотр исходного кода

Update index.js

Bugged version changer text.
'indexstable' was renamed 'indexStable'
aWeirdo 7 лет назад
Родитель
Сommit
3d68a792c7
1 измененных файлов с 1 добавлено и 1 удалено
  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");