Browse Source

Update index.js

Bugged version changer text.
'indexstable' was renamed 'indexStable'
aWeirdo 7 năm trước cách đây
mục cha
commit
3d68a792c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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");