mirror of
https://github.com/9001/copyparty.git
synced 2026-01-12 07:44:08 -07:00
Fix right-click menu (#1159)
Co-authored-by: stackxp <tillijungblut@gmail.com>
This commit is contained in:
parent
3bf80c8152
commit
4e9cf95e8d
|
|
@ -9600,7 +9600,7 @@ var rcm = (function () {
|
|||
|
||||
selFile.path = basenames(file.children[1].firstChild.href).split('?')[0];
|
||||
selFile.relpath = selFile.path.split('/').slice(-1)[0];
|
||||
if (file.children[3].innerHTML == "---")
|
||||
if (noq_href(file.children[1].firstChild).endsWith("/"))
|
||||
selFile.type = "dir";
|
||||
else {
|
||||
var lead = file.firstChild.firstChild;
|
||||
|
|
|
|||
Loading…
Reference in a new issue