Add dev-only hook to remove the core software update notification because it annoys me
This commit is contained in:
parent
500eabc755
commit
849da4bb54
3 changed files with 8 additions and 1 deletions
5
dev/hooks/renderSettings.mjs
Normal file
5
dev/hooks/renderSettings.mjs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Hooks.on(`renderSettings`, (app, html, ctx, options) => {
|
||||
/** @type {HTMLElement|undefined} */
|
||||
const coreUpdateTooltip = html.querySelector(`.build .value a`);
|
||||
coreUpdateTooltip?.remove();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue