maTh 4 rokov pred
rodič
commit
f934eb981e

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