File "redux-spinner.min.js"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/kapee-extensions/inc/admin/redux-core/inc/fields/spinner/redux-spinner.min.js
File size: 795 bytes
MIME-type: text/plain
Charset: utf-8
!function(n){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.spinner=redux.field_objects.spinner||{},redux.field_objects.spinner.init=function(e){e=n.redux.getSelector(e,"spinner"),n(e).each(function(){var i=n(this),e=i;(e=i.hasClass("redux-field-container")?e:i.parents(".redux-field-container:first")).is(":hidden")||e.hasClass("redux-field-init")&&(e.removeClass("redux-field-init"),i.find(".redux_spinner").each(function(){var e=n(this).find(".spinner-input").data();e.id=n(this).find(".spinner-input").attr("id"),i.find("#"+e.id).spinner({value:parseFloat(e.val,null),min:parseFloat(e.min,null),max:parseFloat(e.max,null),step:parseFloat(e.step,null),addText:e.plus,subText:e.minus,prefix:e.prefix,suffix:e.suffix,places:e.places,point:e.point})}))})}}(jQuery);