comment out debug statements
This commit is contained in:
parent
4e39a3b8a4
commit
aec7935ab0
1 changed files with 3 additions and 3 deletions
|
@ -111,15 +111,15 @@ c3nav = {
|
||||||
|
|
||||||
c3nav.state = state;
|
c3nav.state = state;
|
||||||
if (replace || (!state.sidebar && !old_state.sidebar)) {
|
if (replace || (!state.sidebar && !old_state.sidebar)) {
|
||||||
console.log('state replaced');
|
// console.log('state replaced');
|
||||||
history.replaceState(state, '', url);
|
history.replaceState(state, '', url);
|
||||||
} else {
|
} else {
|
||||||
console.log('state pushed');
|
// console.log('state pushed');
|
||||||
history.pushState(state, '', url);
|
history.pushState(state, '', url);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_onpopstate: function (e) {
|
_onpopstate: function (e) {
|
||||||
console.log('state popped');
|
// console.log('state popped');
|
||||||
c3nav.load_state(e.state);
|
c3nav.load_state(e.state);
|
||||||
},
|
},
|
||||||
load_state: function (state) {
|
load_state: function (state) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue