Commit 78a0360a authored by yPhil's avatar yPhil
Browse files

All: <base target="_blank"> links open in a new tab by default

parent 252f712b
......@@ -172,7 +172,7 @@ i.dangerous:hover {
.mobHeader > .feedTitle > a:link,
.mobHeader > .feedTitle > a:visited {
color: var(--ui-color-pri);
color: var(--color-pri);
}
.mobHeader > .feedTitle > a.danger:link,
......
......@@ -99,7 +99,6 @@ PTL.feed = {
var $titleLink = $('<a>')
.attr('href', url)
.attr('target', '_blank')
.html(url);
var $prefsDiv = $('<div>')
......@@ -408,7 +407,6 @@ PTL.feed = {
}
$itemLink
.attr('target', '_blank')
.attr('class', 'ui-helper-clearfix')
.attr('href', item.link)
.append(item.title);
......
......@@ -51,6 +51,8 @@
</script>
<base target="_blank">
</head>
<body>
......@@ -69,8 +71,9 @@
<noscript>
<div id="noScript">
<h1>No script</h1>
<p>plop</p>
<h1>Uh-oh</h1>
<p>Pétrolette cannot work without javascript.</p>
<p>Use the force, read <a href="https://framagit.org/yphil/petrolette">the source</a>.</p>
</div>
</noscript>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment