maTh 4 лет назад
Родитель
Сommit
f934eb981e
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      app/views/subscription/index.phtml
  2. 1 1
      p/scripts/category.js

+ 1 - 1
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>

+ 1 - 1
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>');
 		}
 	}
 }