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

8 lines
372 B

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