Add option to disable $ link

This commit is contained in:
Ajay Ramachandran
2021-08-20 00:04:42 -04:00
parent 36aec560ca
commit bea943dc96
11 changed files with 144 additions and 76 deletions

9
src/help.ts Normal file
View File

@@ -0,0 +1,9 @@
import { showDonationLink } from "./utils/configUtils";
window.addEventListener('DOMContentLoaded', init);
async function init() {
if (!showDonationLink()) {
document.getElementById("sbDonate").style.display = "none";
}
}