Submit
Path:
~
/
home
/
getwphos
/
www
/
radkingpanels
/
wp-content
/
plugins
/
poolax-core
/
assets
/
js
/
File Content:
main.js
(function ($) { $('.cmb-type-icon ul li').click(function(){ var jCMBTypeIcon = $(this).closest('.cmb-type-icon'); // Set selected styles jCMBTypeIcon.find('li').removeClass('selected').addClass('unselected'); $(this).removeClass('unselected').addClass('selected'); // Tick the input jCMBTypeIcon.find('input').removeAttr('checked'); $(this).find('input').attr('checked', '1'); }) $('.cmb-type-icon ul.icon-scroll').click(function(){ // Important to disable the custom input // because otherwise it will override the radio selection var jCMBTypeIcon = $(this).closest('.cmb-type-icon'); jCMBTypeIcon.find('.custom_icon input').attr('disabled', '1'); }); $('.cmb-type-icon .custom_icon').click(function(){ var jCMBTypeIcon = $(this).find('input').removeAttr('disabled').focus(); }); $(document).ready(function(){ $('.cmb-type-icon .selected').each(function(){ if (this.scrollIntoView) this.scrollIntoView(); }); }); })(jQuery);
Submit
FILE
FOLDER
Name
Size
Permission
Action
main.js
1046 bytes
0644
poolax-core.js
2586 bytes
0644
poolax-frontend.js
27234 bytes
0644
poolax.ajax.js
1227 bytes
0644
N4ST4R_ID | Naxtarrr