This commit is contained in:
2022-02-02 18:48:48 +11:00
parent 35dbbe86f9
commit e26a731883

View File

@@ -303,7 +303,7 @@ $('.figure').dblclick( CallViewRouteWrapper )
// different context menu on files // different context menu on files
$.contextMenu({ $.contextMenu({
selector: '.entry', selector: '.entry',
build: function($triggerElement, e){ build: function($triggerElement, e) {
// when right-clicking & no selection add one OR deal with ctrl/shift right-lick as it always changes seln // when right-clicking & no selection add one OR deal with ctrl/shift right-lick as it always changes seln
if( NoSel() || e.ctrlKey || e.shiftKey ) if( NoSel() || e.ctrlKey || e.shiftKey )
{ {
@@ -311,7 +311,6 @@ $.contextMenu({
SetButtonState(); SetButtonState();
} }
if( FiguresOrDirsOrBoth() == "figure" ) if( FiguresOrDirsOrBoth() == "figure" )
{ {
item_list = { item_list = {