mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07:00
parent
a652c39394
commit
5f5385d4dd
1 changed files with 2 additions and 2 deletions
|
@ -968,9 +968,9 @@ window.addEvent('load', function() {
|
||||||
function registerMagnetHandler() {
|
function registerMagnetHandler() {
|
||||||
if (typeof navigator.registerProtocolHandler !== 'function') {
|
if (typeof navigator.registerProtocolHandler !== 'function') {
|
||||||
if (window.location.protocol !== 'https:')
|
if (window.location.protocol !== 'https:')
|
||||||
alert(QBT_TR("To use this feature, the WebUI needs to be accessed over HTTPS")QBT_TR[CONTEXT=MainWindow]);
|
alert("QBT_TR(To use this feature, the WebUI needs to be accessed over HTTPS)QBT_TR[CONTEXT=MainWindow]");
|
||||||
else
|
else
|
||||||
alert(QBT_TR("Your browser does not support this feature")QBT_TR[CONTEXT=MainWindow]);
|
alert("QBT_TR(Your browser does not support this feature)QBT_TR[CONTEXT=MainWindow]");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue