mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 12:10:05 +08:00
open logo url in new tab
This commit is contained in:
@@ -8,6 +8,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
const link = document.createElement("a");
|
||||
link.href = url;
|
||||
link.target = "_blank";
|
||||
|
||||
const parent = logoTextSelector.parentNode;
|
||||
parent.insertBefore(link, logoTextSelector);
|
||||
|
||||
Reference in New Issue
Block a user