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() { ...@@ -149,12 +149,12 @@ jQuery(document).ready(function() {
success : function(data) { success : function(data) {
console.log(data); console.log(data);
var sc=$("#selcounter"); var sc=$("#selcounter");
if (data.count==0) { sc.html(data.count);
/*if (data.count==0) {
sc.hide(); sc.hide();
} else { } else {
sc.html(data.count);
sc.show(); sc.show();
} }*/
}, },
error : function(error) { error : function(error) {
if (action=='add') { 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