Fix the backup button in anonymous drive

This commit is contained in:
yflory
2017-06-23 18:02:36 +02:00
parent 06a0590f73
commit ce44a8d351
3 changed files with 17 additions and 1 deletions

View File

@@ -2753,7 +2753,7 @@ define([
if (!APP.loggedIn) { $hist.hide(); }
if (!readOnly && !APP.loggedIn) {
var $backupButton = Cryptpad.createButton('', true).removeClass('fa').removeClass('fa-question');
var $backupButton = Cryptpad.createButton('', true).removeClass('fa').removeClass('fa-question').addClass('cryptpad-backup');
$backupButton.append($backupIcon.clone().css('marginRight', '0px'));
$backupButton.attr('title', Messages.fm_backup_title);
$backupButton.on('click', function() {