diff options
author | Adam Mathes <adam@trenchant.org> | 2018-05-06 11:12:06 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-05-06 11:12:06 -0700 |
commit | 968d44abeb1fc378d4ce8e207c9f4983c19eb47a (patch) | |
tree | 99bfa2000029f2d9d4dcf9f7b72cbba9c544043e /static/ui.html | |
parent | e9f84c8a3d399789fc49ce0ee50ba257261b9e80 (diff) | |
download | neko-968d44abeb1fc378d4ce8e207c9f4983c19eb47a.tar.gz neko-968d44abeb1fc378d4ce8e207c9f4983c19eb47a.tar.bz2 neko-968d44abeb1fc378d4ce8e207c9f4983c19eb47a.zip |
force all links to open in new window, not just titles
Diffstat (limited to 'static/ui.html')
-rw-r--r-- | static/ui.html | 3 |
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;"> |