diff --git a/src/content/mytinytodo.js b/src/content/mytinytodo.js index 14c846f..f5cd7d3 100644 --- a/src/content/mytinytodo.js +++ b/src/content/mytinytodo.js @@ -272,7 +272,12 @@ var mytinytodo = window.mytinytodo = _mtt = { }); $('#tagcloudbtn').click(function(){ - $('#tagcloudAllLists').prop('checked', flag.showTagsFromAllLists); + if (curList.id == -1) { + $('#tagcloudAllLists').prop('checked', true).prop('disabled', true); + } + else { + $('#tagcloudAllLists').prop('checked', flag.showTagsFromAllLists).prop('disabled', false); + } if(!_mtt.menus.tagcloud) _mtt.menus.tagcloud = new mttMenu('tagcloud', { beforeShow: function(){ if(flag.tagsChanged) { diff --git a/src/content/theme/style.css b/src/content/theme/style.css index 3d8f2b3..2f76626 100644 --- a/src/content/theme/style.css +++ b/src/content/theme/style.css @@ -730,8 +730,11 @@ h3.page-title a.mtt-back-button { #priopopup .prio-pos:hover { border-color: var(--color-priority-urgent); } #priopopup .prio-pos-1:hover { border-color: var(--color-priority-high); } -#tagcloudbtn { font-size:1rem; font-weight:normal; margin-left:auto; } -#mtt.show-all-tasks #tagcloudbtn { display:none; } +#tagcloudbtn { + font-size: 1rem; + font-weight: normal; + margin-left: auto; +} #tagcloud { overflow: hidden; z-index:100; background-color:var(--color-menu);