fixed bootbox3 issue in categories

v1.18.x
psychobunny 12 years ago
parent 6647e75c77
commit aa5e5f9cc0

@ -153,3 +153,7 @@
}
}
.fa-icons .col-md-3 {
padding-left: 0;
padding-right: 0;
}

@ -29,10 +29,12 @@ function select_icon(el) {
}
});
jQuery('.bootbox .span3').on('click', function() {
jQuery('.bootbox .selected').removeClass('selected');
jQuery(this).addClass('selected');
});
setTimeout(function() { //bootbox was rewritten for BS3 and I had to add this timeout for the previous code to work. TODO: to look into
jQuery('.bootbox .col-md-3').on('click', function() {
jQuery('.bootbox .selected').removeClass('selected');
jQuery(this).addClass('selected');
});
}, 500);
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save