From 52a593c2c2acbfdc96473cceab7891cf8aa0a734 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 22 Dec 2016 17:27:40 +0100 Subject: [PATCH] fix jshint complaints --- www/common/cryptpad-common.js | 2 +- www/login/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();