mirror of
https://github.com/9001/copyparty.git
synced 2026-02-19 11:54:58 -05:00
Fix right-click menu (#1159)
Co-authored-by: stackxp <tillijungblut@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user