rename history navigation
This commit is contained in:
parent
ae317113e7
commit
aeb0e0f96d
5 changed files with 17 additions and 17 deletions
src/content
8
src/content/navigates.js
Normal file
8
src/content/navigates.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const historyPrev = (win) => {
|
||||
win.history.back();
|
||||
};
|
||||
const historyNext = (win) => {
|
||||
win.history.forward();
|
||||
};
|
||||
|
||||
export { historyPrev, historyNext };
|
Reference in a new issue