aboutsummaryrefslogtreecommitdiffstats
path: root/opener.js
diff options
context:
space:
mode:
Diffstat (limited to 'opener.js')
-rw-r--r--opener.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/opener.js b/opener.js
index 7cd3b3c..95d6e41 100644
--- a/opener.js
+++ b/opener.js
@@ -115,4 +115,16 @@ let INFO = xml`
);
}
+ U.around(
+ quickmarks,
+ 'jumpTo',
+ function (next, args) {
+ let qmark = args[0];
+ let url = quickmarks._qmarks.get(qmark);
+ if (!(url && jump(url))) {
+ return next();
+ }
+ }
+ );
+
})();