Commit d7b43b00 authored by Matija Obreza's avatar Matija Obreza
Browse files

Don't hide selection counter when 0

parent c78b9ece
......@@ -149,12 +149,12 @@ jQuery(document).ready(function() {
success : function(data) {
console.log(data);
var sc=$("#selcounter");
if (data.count==0) {
sc.html(data.count);
/*if (data.count==0) {
sc.hide();
} else {
sc.html(data.count);
sc.show();
}
}*/
},
error : function(error) {
if (action=='add') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment