fix duplicated attributes in torrents web panel link

This commit is contained in:
PobreGato committed 2026-10-13 18:48:50 -04:00
1 parent 859a7b36a4
commit 0153a0d968
1 file changed
+3 -2
+3 -2
View File
@@ -1255,8 +1255,9 @@ namespace http {
std::string jsRedir = "this.href = location.protocol + '//' + location.hostname + ':' + " + std::to_string(rpcPort) + " + '" + webPath + "/web/'";
s << "<a href='http://localhost:" << rpcPort << webPath << "/web/' "
<< "onmouseover=\"" << jsRedir << "\" target=\"_blank\" rel=\"noopener noreferrer\""
<< "onclick=\"" << jsRedir << "\" target=\"_blank\" rel=\"noopener noreferrer\">"
<< "target=\"_blank\" rel=\"noopener noreferrer\" "
<< "onmouseover=\"" << jsRedir << "\" "
<< "onclick=\"" << jsRedir << "\">"
<< " | Web Panel</a>";
}
s << "</div>\r\n"<< std::endl;