diff options
| author | 2021-10-16 13:14:18 +0200 | |
|---|---|---|
| committer | 2021-10-16 13:14:18 +0200 | |
| commit | f934eb981e21f9eecca6d944b77dd7a07c74eb06 (patch) | |
| tree | feaea2e68525282682acac5955e7c60ff6858f76 | |
| parent | c23702eaa5d61aa83b47023d118ebb905d39ccd6 (diff) | |
fix (#3888)
| -rw-r--r-- | app/views/subscription/index.phtml | 2 | ||||
| -rw-r--r-- | p/scripts/category.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 9cbac1bbb..0d58b5436 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -55,7 +55,7 @@ <?php } } else { ?> - <li class="item disabled" dropzone="move"><?= _t('sub.category.empty') ?></li> + <li class="item feed disabled" dropzone="move"><div class="alert-warn"><?= _t('sub.category.empty') ?></div></li> <?php } ?> </ul> </div> diff --git a/p/scripts/category.js b/p/scripts/category.js index 2f2b22ae7..3e09fc4c7 100644 --- a/p/scripts/category.js +++ b/p/scripts/category.js @@ -25,7 +25,7 @@ function dragend_process(t) { t.remove(); if (p.childElementCount <= 0) { - p.insertAdjacentHTML('beforeend', '<li class="item disabled" dropzone="move">' + context.i18n.category_empty + '</li>'); + p.insertAdjacentHTML('beforeend', '<li class="item feed disabled" dropzone="move"><div class="alert-warn">' + context.i18n.category_empty + '</div></li>'); } } } |
