An electron-based WIP aesthetic file explorer ^^
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FileKade/scripts/modal/transit.js

4 lines
232 B

3 years ago
module.exports = (id, open=false) => {
if (open && !window.kade.modals.includes(id)) {window.kade.modals.push(id);}
else if (window.kade.modals.includes(id)) {window.kade.modals.splice(window.kade.modals.indexOf(id), 1);}
};