diff --git a/index.php b/index.php index 9921a01..03d165b 100644 --- a/index.php +++ b/index.php @@ -405,7 +405,7 @@ $(function(){ } function renderFileRow(data) { var $link = $('') - .attr('href', data.is_dir ? '#' + encodeURIComponent(data.path) : './'+ encodeURIComponent(data.path)) + .attr('href', data.is_dir ? '#' + encodeURIComponent(data.path) : './' + data.path) .text(data.name); var allow_direct_link = ; if (!data.is_dir && !allow_direct_link) $link.css('pointer-events','none');