????
| Current Path : /home2/morganrand/www/wp-content/plugins/social-count-plus/assets/js/ |
| Current File : /home2/morganrand/www/wp-content/plugins/social-count-plus/assets/js/admin.min.js |
jQuery(document).ready(function(a){function b(b){var c=b.attr("id"),d=c.replace("_active",""),e=a('.form-table [id^="'+d+'"]').not('[id^="'+c+'"]').parent("td").parent("tr");b.is(":checked")?e.show():e.hide()}a(".social-count-plus-color-field").wpColorPicker(),a('.form-table input[id$="_active"]').each(function(){b(a(this))}),a('.form-table input[id$="_active"]').on("click",function(){b(a(this))}),a(".form-table .social-count-plus-icons-order").sortable({items:"div.social-icon",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,placeholder:"social-icon-placeholder",start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(){var b=a(".social-count-plus-icons-order .social-icon").map(function(){return a(this).data("icon")}).get().join();a("input",a(this)).val(b)}})});