From 08306acd8d8828b47de35cb463df88cea1bc8f1e Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Fri, 28 Aug 2020 17:43:46 +0300 Subject: [PATCH] * click with Cmd and Ctrl on tag in tagcloud will exclude the tag (like in tasklist) --- src/mytinytodo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mytinytodo.js b/src/mytinytodo.js index 4c86dbe..f2f6ae3 100644 --- a/src/mytinytodo.js +++ b/src/mytinytodo.js @@ -214,7 +214,7 @@ var mytinytodo = window.mytinytodo = _mtt = { }); $('#tagcloudcontent').on('click', '.tag', function(){ - addFilterTag($(this).attr('tag'), $(this).attr('tagid')); + addFilterTag( $(this).attr('tag'), $(this).attr('tagid'), (event.metaKey || event.ctrlKey ? true : false) ); if(_mtt.menus.tagcloud) _mtt.menus.tagcloud.close(); return false; });