fix broken link
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', [
|
||||
Msg.crowdfunding_home1,
|
||||
h('br'),
|
||||
Msg.crowdfunding_home2
|
||||
Msg.crowdfunding_home2,
|
||||
link
|
||||
]);
|
||||
|
||||
$(crowdFunding).click(function () {
|
||||
var a = document.createElement("a");
|
||||
a.href = "https://opencollective.com/cryptpad/contribute";
|
||||
a.target = "_blank";
|
||||
a.rel = "noopener";
|
||||
a.click();
|
||||
link.click();
|
||||
});
|
||||
|
||||
return [
|
||||
|
|
Loading…
Reference in New Issue