File "redux-js-button.min.js"
Full Path: /home/elegucvf/public_html/video/wp-content/plugins/atlas-core/framework/redux-core/inc/extensions/js_button/js_button/redux-js-button.min.js
File size: 859 bytes
MIME-type: text/plain
Charset: utf-8
!function(i){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.js_button=redux.field_objects.js_button||{},redux.field_objects.js_button.mainID="",redux.field_objects.js_button.init=function(t){t=t||i(document).find(".redux-container-js_button"),i(t).each(function(){var t=i(this),e=t;(e=t.hasClass("redux-field-container")?e:t.parents(".redux-field-container:first")).hasClass("redux-field-init")&&(e.removeClass("redux-field-init"),redux.field_objects.js_button.modInit(t),e=i(t).find("input"),i.each(e,function(t,n){i(this).on("click",function(t){var e=i(n).data("function");if(t.preventDefault(),""!==e){if("function"!=typeof window[e])throw"JS Button Error. Function "+e+" does not exist.";window[e]()}})}))})},redux.field_objects.js_button.modInit=function(t){redux.field_objects.js_button.mainID=t.attr("data-id")}}(jQuery);