mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-06 02:39:59 +02:00
removing untranslated string for non-human entities, moving insecure notice to template, so it can remains translated
This commit is contained in:
parent
70c38db81d
commit
7c61f59dcd
22 changed files with 33 additions and 30 deletions
|
@ -266,12 +266,7 @@
|
|||
if (isOldBrowser()) {
|
||||
// some browsers (Chrome based ones) would have webcrypto support if using HTTPS
|
||||
if (!isSecureContext()) {
|
||||
showError(
|
||||
'Your browser may require an HTTPS connection to support the WebCrypto API. Try <a href="%s">switching to HTTPS</a>.'.replace(
|
||||
'%s',
|
||||
'https' + window.location.href.slice(4)
|
||||
)
|
||||
);
|
||||
removeHiddenFromId('insecurecontextnotice');
|
||||
}
|
||||
removeHiddenFromId('oldnotice');
|
||||
init = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue