Add deprecation notice
This commit is contained in:
parent
b5be385ea5
commit
4f9d7b8311
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@fwdekker/template",
|
||||
"version": "2.2.3",
|
||||
"version": "2.2.4",
|
||||
"description": "The base template for pages on fwdekker.com.",
|
||||
"author": "Felix W. Dekker",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -191,6 +191,8 @@ const footerLink = function(prefix, text, url, suffix) {
|
|||
|
||||
/**
|
||||
* Unhides the main element on the page and applies default display styling.
|
||||
*
|
||||
* @deprecated Will be removed in the near future. Just use `$("main").classList.remove("hidden")` yourself.
|
||||
*/
|
||||
const showPage = function() {
|
||||
const main = $("main");
|
||||
|
|
Loading…
Reference in New Issue