aboutsummaryrefslogtreecommitdiff
path: root/src/content/histories.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/histories.js')
-rw-r--r--src/content/histories.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content/histories.js b/src/content/histories.js
new file mode 100644
index 0000000..2e34dc6
--- /dev/null
+++ b/src/content/histories.js
@@ -0,0 +1,8 @@
+const prev = (win) => {
+ win.history.back()
+};
+const next = (win) => {
+ win.history.forward()
+};
+
+export { prev, next };