diff --git a/templates/files.html b/templates/files.html index b043a6d..ab06378 100644 --- a/templates/files.html +++ b/templates/files.html @@ -314,6 +314,7 @@ function DoSel(e, el) } $('.figure').click( function(e) { DoSel(e, this ); return false; }); +$(document).on('click', function(e) { $('.highlight').removeClass('highlight') }); (function ($, window) { @@ -367,6 +368,7 @@ $('.figure').click( function(e) { DoSel(e, this ); return false; }); }; })(jQuery, window); +{# for now if we have no data, dont peak inside the first element to see if we are viewing the Bin folder and then swich the context menu #} {% if entry_data|length > 0 %} if( "{{entry_data[0].in_dir.in_path.type.name}}" == "Bin" ) { $('#dd_del').hide()