|
@@ -3,7 +3,7 @@ window.top.addEventListener('popstate', function (event) {
|
|
|
hideMask();
|
|
|
hideMoeFormMask();
|
|
|
if (!event || (!event.state && event.state !== '')) {
|
|
|
- console.error('ALIX No state!', event, event.state);
|
|
|
+ // console.error('ALIX No state!', event, event.state);
|
|
|
return;
|
|
|
}
|
|
|
var state = event.state;
|
|
@@ -197,11 +197,11 @@ function fastLoad(_href, _history = true, _useCache = true, _replaceState = fals
|
|
|
if (target[0] === '/') target = target.substr(1);
|
|
|
if (_replaceState) {
|
|
|
window.top.history.replaceState(target, null, '/mc/' + target);
|
|
|
- console.log('ALIX replaceState: [' + target + ']');
|
|
|
+ // console.log('ALIX replaceState: [' + target + ']');
|
|
|
}
|
|
|
else {
|
|
|
window.top.history.pushState(target, null, '/mc/' + target);
|
|
|
- console.log('ALIX pushState: [' + target + ']');
|
|
|
+ // console.log('ALIX pushState: [' + target + ']');
|
|
|
}
|
|
|
}
|
|
|
|