Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
kapee-extensions
/
inc
/
admin
/
redux-core
/
inc
/
fields
/
spacing
:
redux-spacing.min.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
!function(n){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.spacing=redux.field_objects.spacing||{},redux.field_objects.spacing.init=function(i){i=n.redux.getSelector(i,"spacing"),n(i).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-spacing-units").select2(),i.find(".redux-spacing-input").on("change",function(){var i,e=n(this).parents(".redux-field:first").find(".field-units").val();0!==n(this).parents(".redux-field:first").find(".redux-spacing-units").length&&(e=n(this).parents(".redux-field:first").find(".redux-spacing-units option:selected").val()),i=n(this).val(),void 0!==e&&i&&(i+=e),n(this).hasClass("redux-spacing-all")?n(this).parents(".redux-field:first").find(".redux-spacing-value").each(function(){n(this).val(i)}):n("#"+n(this).attr("rel")).val(i)}),i.find(".redux-spacing-units").on("change",function(){n(this).parents(".redux-field:first").find(".redux-spacing-input").change(),i.find(".field-units").val(n(this).val())}))})}}(jQuery);