fix jshint complaints

pull/1/head
ansuz 8 years ago
parent 25c8ea464b
commit 52a593c2c2

@ -674,7 +674,7 @@ define([
var $container = $('<div>', {'class': 'loadingContainer'}); var $container = $('<div>', {'class': 'loadingContainer'});
$container.append('<img class="cryptofist" src="/customize/cryptofist_small.png" />'); $container.append('<img class="cryptofist" src="/customize/cryptofist_small.png" />');
var $spinner = $('<div>', {'class': 'spinnerContainer'}); var $spinner = $('<div>', {'class': 'spinnerContainer'});
loadingSpinner = common.spinner($spinner).show(); var loadingSpinner = common.spinner($spinner).show();
var $text = $('<p>').text(Messages.loading); var $text = $('<p>').text(Messages.loading);
$container.append($spinner).append($text); $container.append($spinner).append($text);
$loading.append($container); $loading.append($container);

@ -33,7 +33,7 @@ define([
$loginBox.slideDown(); $loginBox.slideDown();
}; };
var $logout = $logout.click(function () { $logout.click(function () {
Cryptpad.logout(function () { Cryptpad.logout(function () {
$logoutBox.slideUp(); $logoutBox.slideUp();
revealLogin(); revealLogin();

Loading…
Cancel
Save