mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
additions for prev commit
This commit is contained in:
parent
489a027fa3
commit
bfa83ea244
3 changed files with 8 additions and 2 deletions
|
|
@ -272,7 +272,10 @@ var mytinytodo = window.mytinytodo = _mtt = {
|
|||
});
|
||||
|
||||
$('#tagcloudbtn').click(function(){
|
||||
if (curList.id == -1) {
|
||||
if (flag.readOnly) {
|
||||
$('#tagcloudAllLists').prop('checked', false).prop('disabled', true);
|
||||
}
|
||||
else if (curList.id == -1) {
|
||||
$('#tagcloudAllLists').prop('checked', true).prop('disabled', true);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -778,6 +778,9 @@ h3.page-title a.mtt-back-button {
|
|||
#tagcloud .actions > *:first-child {
|
||||
flex-grow: 1;
|
||||
}
|
||||
#tagcloudAllLists:disabled + label {
|
||||
opacity: 0.6;
|
||||
}
|
||||
#tagcloudcancel span {
|
||||
mask: url(images/closetag.svg) no-repeat; -webkit-mask: url(images/closetag.svg) no-repeat;
|
||||
background-color: var(--color-btn-reduced);
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ $().ready(function(){
|
|||
|
||||
<div id="tagcloud" style="display:none">
|
||||
<div class="actions">
|
||||
<div><label><input id="tagcloudAllLists" type="checkbox" /> <?php _e('showTagsFromAllLists');?></label></div>
|
||||
<div><input id="tagcloudAllLists" type="checkbox" /> <label for="tagcloudAllLists"><?php _e('showTagsFromAllLists');?></label></div>
|
||||
<div id="tagcloudcancel" class="mtt-img-button"><span></span></div>
|
||||
</div>
|
||||
<div class="content">
|
||||
|
|
|
|||
Loading…
Reference in a new issue