mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* enable tag cloud in all tasks list
This commit is contained in:
parent
681d06a31d
commit
489a027fa3
2 changed files with 11 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue