aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-05-06 11:12:06 -0700
committerAdam Mathes <adam@trenchant.org>2018-05-06 11:12:06 -0700
commit968d44abeb1fc378d4ce8e207c9f4983c19eb47a (patch)
tree99bfa2000029f2d9d4dcf9f7b72cbba9c544043e
parente9f84c8a3d399789fc49ce0ee50ba257261b9e80 (diff)
downloadneko-968d44abeb1fc378d4ce8e207c9f4983c19eb47a.tar.gz
neko-968d44abeb1fc378d4ce8e207c9f4983c19eb47a.tar.bz2
neko-968d44abeb1fc378d4ce8e207c9f4983c19eb47a.zip
force all links to open in new window, not just titles
-rw-r--r--static/ui.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/ui.html b/static/ui.html
index 5ae445d..4f10cf0 100644
--- a/static/ui.html
+++ b/static/ui.html
@@ -12,6 +12,7 @@
</script>
<script src="/static/ui.js"></script>
<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1, maximum-scale=1" />
+ <base target="_blank">
</head>
<body>
<h1 class="logo" onclick="$('#filters').toggleClass('hidden');">🐱</h1>
@@ -36,7 +37,7 @@
</div>
<script id="item_template" type="text/jqtmp">
- <h2><a target="_blank" class="i" id="i_${item_id}" href="${item.url}">${item.title }</a>
+ <h2><a class="i" id="i_${item_id}" href="${item.url}">${item.title }</a>
<span class={{if item.starred}}"unstar"{{else}}"star"{{/if}}>★</span>
</h2>
<p class="dateline" style="clear: both;">