Explorar o código

MC fix ql param handling in root page

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
23257d9115
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      public/js/mc.js

+ 2 - 0
public/js/mc.js

@@ -267,6 +267,8 @@ function fastLoad(_href, _history = true, _useCache = true, _replaceState = fals
             cleanedHREF = cleanedHREF.replace('/?', '?');
         }
 
+        if(cleanedHREF.length > 0 && cleanedHREF[0] === '?') cleanedHREF = '/' + cleanedHREF;
+
         $.get(cleanedHREF, function (_data) {
             onFastLoaded(_data, _href, _history);
         }).fail(function (_jqXhr) {