mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
add wiki outline (#2263)
This commit is contained in:
committed by
Daniel Pan
parent
87eb52a094
commit
7bd164f0e1
@@ -108,7 +108,9 @@ class Wiki extends Component {
|
||||
}
|
||||
|
||||
onpopstate = (event) => {
|
||||
this.loadFile(event.state.filePath);
|
||||
if (event.state && event.state.filePath) {
|
||||
this.loadFile(event.state.filePath);
|
||||
}
|
||||
}
|
||||
|
||||
onMenuClick = () => {
|
||||
|
Reference in New Issue
Block a user