diff --git a/src/content/mytinytodo.js b/src/content/mytinytodo.js index 2b13ed3..acbd1b5 100644 --- a/src/content/mytinytodo.js +++ b/src/content/mytinytodo.js @@ -989,6 +989,12 @@ var mytinytodo = window.mytinytodo = _mtt = { addTag(tagId, tag, exclude) { + //Catch 'any tag' filter + if (tagId == -2) { + tagId = -1; + tag = '^'; + exclude = true + } for (const filter of this._filters) { if (filter.tagId && filter.tagId == tagId) return false; @@ -2043,7 +2049,8 @@ function setTagcloudContent(tags, isFiltered = false) cloud = _mtt.lang.get('noTags'); } else if (!isFiltered) { - cloud = `${_mtt.lang.get('withoutTags')}` + cloud; + cloud = `${_mtt.lang.get('withoutTags')}` + + `${_mtt.lang.get('withAnyTag')}` + cloud; } $('#tagcloudcontent').html(cloud) }