mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
function.js: fix compatibility with Safari
This commit is contained in:
parent
ff3ca35bed
commit
49656cd6f6
1 changed files with 5 additions and 6 deletions
|
@ -289,13 +289,12 @@ function generate_uuid() {
|
|||
*
|
||||
* Source : http://ntt.cc/2008/01/19/base64-encoder-decoder-with-javascript.html
|
||||
*/
|
||||
if ($type(atob) != 'function') {
|
||||
var B64keyStr = "ABCDEFGHIJKLMNOP" +
|
||||
"QRSTUVWXYZabcdef" +
|
||||
"ghijklmnopqrstuv" +
|
||||
"wxyz0123456789+/" +
|
||||
"=";
|
||||
|
||||
if ($type(atob) != 'function') {
|
||||
function btoa(input) {
|
||||
input = escape(input);
|
||||
var output = "";
|
||||
|
|
Loading…
Reference in a new issue