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/buttons/changeascend.js

7 lines
265 B

const refresh = require("../fileview/refresh");
module.exports = () => {
window.kade.ascend = !window.kade.ascend;
document.getElementById('order-button').innerHTML = window.kade.ascend ? "Ascending" : "Descending";
refresh(window.kade.cpath);
};