fix broken link
This commit is contained in:
parent
cb87f49b1f
commit
13d511d037
@ -615,17 +615,21 @@ define([
|
|||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
var _link = h('a', {
|
||||||
|
href: "https://opencollective.com/cryptpad/contribute",
|
||||||
|
target: '_blank',
|
||||||
|
rel: 'noopener',
|
||||||
|
});
|
||||||
|
|
||||||
var crowdFunding = AppConfig.disableCrowdfundingMessages ? undefined : h('button', [
|
var crowdFunding = AppConfig.disableCrowdfundingMessages ? undefined : h('button', [
|
||||||
Msg.crowdfunding_home1,
|
Msg.crowdfunding_home1,
|
||||||
h('br'),
|
h('br'),
|
||||||
Msg.crowdfunding_home2
|
Msg.crowdfunding_home2,
|
||||||
|
link
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$(crowdFunding).click(function () {
|
$(crowdFunding).click(function () {
|
||||||
var a = document.createElement("a");
|
link.click();
|
||||||
a.href = "https://opencollective.com/cryptpad/contribute";
|
|
||||||
a.target = "_blank";
|
|
||||||
a.rel = "noopener";
|
|
||||||
a.click();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user