function.js: Fix global variable B64keyStr declaration

This commit is contained in:
Benjamin Renard 2020-05-29 18:28:15 +02:00
parent 0469d0723f
commit 78fefb6c8f

View file

@ -290,7 +290,7 @@ function generate_uuid() {
* Source : http://ntt.cc/2008/01/19/base64-encoder-decoder-with-javascript.html
*/
if ($type(atob) != 'function') {
B64keyStr = "ABCDEFGHIJKLMNOP" +
var B64keyStr = "ABCDEFGHIJKLMNOP" +
"QRSTUVWXYZabcdef" +
"ghijklmnopqrstuv" +
"wxyz0123456789+/" +