* * @param {"file"|"dir"|"root"} type * @param {string} url
(type, uri)
| 951 | * @param {string} url |
| 952 | */ |
| 953 | function handleClick(type, uri) { |
| 954 | if (!helpers.isFile(type)) return; |
| 955 | openFile(uri, { render: true }); |
| 956 | Sidebar.hide(); |
| 957 | } |
| 958 | |
| 959 | /** |
| 960 | * Insert a file into the list |
no test coverage detected