* Click handler for files app * @param {MouseEvent} e * @returns
(e)
| 57 | * @returns |
| 58 | */ |
| 59 | function clickHandler(e) { |
| 60 | if (!container.children.length) { |
| 61 | acode.exec("open-folder"); |
| 62 | return; |
| 63 | } |
| 64 | |
| 65 | const { target } = e; |
| 66 | if (target.matches(".files>.list>.tile")) { |
| 67 | fixHeight(target.parentElement); |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Update list height |