06.02.2017, 09:56
Try this:
Code:
$(function(){
var el = $('.example > div').data('circularslider').$value
, fn = el.text;
el.text = function(v) {
if (typeof v != 'undefined') {
if (parseInt(v, 10) > 0) {
v = '+' + v;
}
return fn.call(el, v);
}
else {
return fn.call(el);
}
}
el.text(el.text());
});