Update uiEvents.js

This commit is contained in:
Maxim 2019-04-12 14:39:24 -05:00 committed by GitHub
parent 0c54def3bf
commit dfa49d208c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ document.ondblclick = (event) => {
if (classNM === "dirStyle") { if (classNM === "dirStyle") {
getDir(obj.children[1].value); getDir(obj.children[1].value);
} else if (classNM === "movieStyle") { } else if (classNM === "movieStyle") {
showMedia(obj.children[1].value, "video"); showMedia(obj.children[0].value, "video");
} else { } else {
showMedia(obj.children[1].value, "file"); showMedia(obj.children[1].value, "file");
} }