|
|
@ -861,14 +861,12 @@ define([
|
|
|
|
var $usage = $('<span>', {'class': 'usage'}).css('width', width+'px');
|
|
|
|
var $usage = $('<span>', {'class': 'usage'}).css('width', width+'px');
|
|
|
|
|
|
|
|
|
|
|
|
var makeDonateButton = function () {
|
|
|
|
var makeDonateButton = function () {
|
|
|
|
var $upgradeLink = $('<a>', {
|
|
|
|
$('<a>', {
|
|
|
|
|
|
|
|
'class': 'upgrade btn btn-success',
|
|
|
|
href: common.donateURL,
|
|
|
|
href: common.donateURL,
|
|
|
|
rel: "noreferrer noopener",
|
|
|
|
rel: "noreferrer noopener",
|
|
|
|
target: "_blank",
|
|
|
|
target: "_blank",
|
|
|
|
}).appendTo($container);
|
|
|
|
}).text(Messages.supportCryptpad).appendTo($container);
|
|
|
|
$('<button>', {
|
|
|
|
|
|
|
|
'class': 'upgrade buttonSuccess',
|
|
|
|
|
|
|
|
}).text(Messages.supportCryptpad).appendTo($upgradeLink);
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var makeUpgradeButton = function () {
|
|
|
|
var makeUpgradeButton = function () {
|
|
|
|