瀏覽代碼

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 5 年之前
父節點
當前提交
f8b2fb075a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Playground/js/main.js

+ 2 - 2
Playground/js/main.js

@@ -566,7 +566,7 @@ class Main {
                         exampleList.appendChild(noResultContainer);
                     }
 
-                    if (!location.hash && restoreVersionResult == false && (location.pathname === '/' || !location.pathname)) {
+                    if (!location.hash && restoreVersionResult == false && location.pathname.indexOf('pg/') === -1)
                         // Query string
                         var queryString = window.location.search;
 
@@ -1155,4 +1155,4 @@ class Main {
         }
         return query;
     }
-}
+}