Commit 4d1b1c2c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Options Page] Force http(s) links to open in new tab

I just noticed Chrome errors out on opening most of the external links we
have on the options page (e.g. the "KDE Connect" link).

Just open all of them in a new tab, which we probably want explicitly anyway.
parent 1aa805bd
......@@ -290,4 +290,12 @@;
} else { = "none";
// Chrome at some point started not properly opening links on the options page
// Force external links to open in a new tab
document.querySelectorAll("a[href^=http]").forEach((link) => {
if (! { = "_blank";
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