mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-06 02:39:59 +02:00
revert legacy browser support, dropped in favour of webcrypto API
This commit is contained in:
parent
0319a16b15
commit
4f332b7719
3 changed files with 3 additions and 4 deletions
|
@ -231,8 +231,7 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) {
|
|||
return baseUri;
|
||||
}
|
||||
|
||||
// window.location.origin is a newer alternative, but requires FF 21 / Chrome 31 / Safari 7 / IE 11
|
||||
baseUri = window.location.protocol + '//' + window.location.host + window.location.pathname;
|
||||
baseUri = window.location.origin + window.location.pathname;
|
||||
return baseUri;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue