summaryrefslogtreecommitdiffstats
path: root/assets/javascript/core/navigation.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/javascript/core/navigation.js')
-rw-r--r--assets/javascript/core/navigation.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/assets/javascript/core/navigation.js b/assets/javascript/core/navigation.js
deleted file mode 100644
index bb3547c..0000000
--- a/assets/javascript/core/navigation.js
+++ /dev/null
@@ -1,17 +0,0 @@
-define([
- "jQuery"
-], function($) {
- var goNext = function() {
- var url = $("link[rel='next']").attr("href");
- if (url) location.href = url;
- };
- var goPrev = function() {
- var url = $("link[rel='prev']").attr("href");
- if (url) location.href = url;
- };
-
- return {
- goNext: goNext,
- goPrev: goPrev
- };
-}); \ No newline at end of file