clicking on the bg removes selection/highlights
This commit is contained in:
@@ -314,6 +314,7 @@ function DoSel(e, el)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('.figure').click( function(e) { DoSel(e, this ); return false; });
|
$('.figure').click( function(e) { DoSel(e, this ); return false; });
|
||||||
|
$(document).on('click', function(e) { $('.highlight').removeClass('highlight') });
|
||||||
|
|
||||||
(function ($, window) {
|
(function ($, window) {
|
||||||
|
|
||||||
@@ -367,6 +368,7 @@ $('.figure').click( function(e) { DoSel(e, this ); return false; });
|
|||||||
};
|
};
|
||||||
})(jQuery, window);
|
})(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|length > 0 %}
|
||||||
if( "{{entry_data[0].in_dir.in_path.type.name}}" == "Bin" ) {
|
if( "{{entry_data[0].in_dir.in_path.type.name}}" == "Bin" ) {
|
||||||
$('#dd_del').hide()
|
$('#dd_del').hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user