diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index e842f9b6c..4c7df996b 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -674,7 +674,7 @@ define([ var $container = $('
', {'class': 'loadingContainer'}); $container.append(''); var $spinner = $('
', {'class': 'spinnerContainer'}); - loadingSpinner = common.spinner($spinner).show(); + var loadingSpinner = common.spinner($spinner).show(); var $text = $('

').text(Messages.loading); $container.append($spinner).append($text); $loading.append($container); diff --git a/www/login/main.js b/www/login/main.js index 1530dd0b2..e241c519d 100644 --- a/www/login/main.js +++ b/www/login/main.js @@ -33,7 +33,7 @@ define([ $loginBox.slideDown(); }; - var $logout = $logout.click(function () { + $logout.click(function () { Cryptpad.logout(function () { $logoutBox.slideUp(); revealLogin();