var prependClass = function (sel, strClass) {
var $el = jQuery(sel);
if ($el.hasClass(strClass)) {
return;
}
/* prepend class */
var classes = $el.attr('class');
classes = strClass + ' ' + classes;
$el.attr('class', classes);
}
var prependClass = function (sel, strClass) {
var $el = jQuery(sel);
if ($el.hasClass(strClass)) {
return;
}
/* prepend class */
var classes = $el.attr('class');
classes = strClass + ' ' + classes;
$el.attr('class', classes);
}