瀏覽代碼

Ensure post-login initial page load

Vijayakrishnan Krishnan 4 年之前
父節點
當前提交
3aed80990b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      public/js/mc.js

+ 2 - 0
public/js/mc.js

@@ -231,6 +231,8 @@ function fastLoad(_href, _history = true, _useCache = true, _replaceState = fals
 
     showMask();
 
+    if(_href === '') _href = '/';
+
     // push state
     if (_history) {
         var target = _href;