diff --git a/src/listing.html b/src/listing.html
index f3b4267..d07275a 100644
--- a/src/listing.html
+++ b/src/listing.html
@@ -178,7 +178,12 @@
~{linked-path}
if (tr) {
var a = tr.querySelector('a');
if (a) {
- window.location.href = a.href;
+ if (e.metaKey || e.ctrlKey) {
+ e.preventDefault();
+ window.open(a.href, '_blank');
+ } else {
+ a.click();
+ }
}
}
});