浏览代码

Merge pull request #8047 from BabylonJS/RaananW-patch-1

Update main.js
Raanan Weber 5 年之前
父节点
当前提交
48fb9546ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Playground/js/main.js

+ 1 - 1
Playground/js/main.js

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