Updated open options
This commit is contained in:
parent
86b652e8d7
commit
4dafc328a5
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue