Забыл добавить JS файлик :)

This commit is contained in:
Andrei 2023-03-11 19:36:39 +05:00
parent c979eccaf7
commit 7f666abb31

12
static/js/showcase.js Normal file
View File

@ -0,0 +1,12 @@
function add_link()
{
document.getElementById('add_link_button').style = 'display: none;';
document.getElementById('repeal_link_button').style = 'display: block;';
document.getElementById('form_link').style = 'display: block;';
}
function repeal_link()
{
document.getElementById('add_link_button').style = 'display: block;';
document.getElementById('repeal_link_button').style = 'display: none;';
document.getElementById('form_link').style = 'display: none;';
}