Applied formatting rules for by #986 changed files

This commit is contained in:
Bernd Bestel
2020-09-06 10:10:30 +02:00
parent d0a7756a67
commit 7498d8f13d
3 changed files with 17 additions and 7 deletions

View File

@@ -172,7 +172,8 @@ function animateCSS(selector, animationName, callback, speed = "faster")
nodes.on('animationend', handleAnimationEnd);
}
function RandomString() {
function RandomString()
{
return Math.random().toString(36).substring(2, 100) + Math.random().toString(36).substring(2, 100);
}
function getQRCodeForContent(url)
@@ -185,7 +186,7 @@ function getQRCodeForContent(url)
function getQRCodeForAPIKey(apikey_type, apikey_key)
{
var content = U('/api') + '|' + apikey_key;
if(apikey_type === 'special-purpose-calendar-ical')
if (apikey_type === 'special-purpose-calendar-ical')
{
content = U('/api/calendar/ical?secret=' + apikey_key);
}