implement go-root command
This commit is contained in:
parent
e9863299ab
commit
ac8f7e65dc
5 changed files with 10 additions and 1 deletions
|
@ -63,4 +63,8 @@ const parent = (win) => {
|
|||
}
|
||||
};
|
||||
|
||||
export { historyPrev, historyNext, linkPrev, linkNext, parent };
|
||||
const root = (win) => {
|
||||
win.location = win.location.origin;
|
||||
};
|
||||
|
||||
export { historyPrev, historyNext, linkPrev, linkNext, parent, root };
|
||||
|
|
Reference in a new issue