Updated open options

This commit is contained in:
maximstewart 2021-02-21 14:20:45 -06:00
parent 86b652e8d7
commit 4dafc328a5
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@ const loadFavePath = (e) => {
}
const openFile = (eve) => {
const target = eve.target;
let target = eve.target;
if (!target.getAttribute("title"))
target = target.parentElement
const ftype = target.getAttribute("ftype");
const title = target.getAttribute("title");
const hash = target.getAttribute("hash");