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/clearmodals.js

11 lines
315 B

const transit = require("./transit");
module.exports = (...modals) => {
let tc = modals.length ? modals : window.kade.modals;
tc.forEach(modal => {
if (window.kade.modals.includes(modal)) {
transit(modal, false);
document.getElementById(modal).remove();
}
});
};