Dashboard
PHP:
8.0.30
OS:
Linux
User:
hoozgot
/
/
home
/
hoozgot
/
www
/
theroadhogs
/
wp-content
/
themes
/
rock-star
/
js
📤 Upload
📝 New File
📁 New Folder
Close
Editing: customizer-custom-scripts.min.js
!function(o){o.sectionConstructor.upgrade_button=o.Section.extend({attachEvents:function(){},isContextuallyActive:function(){return!0}})}(wp.customize),function(t){wp.customize("rock_star_theme_options[reset_all_settings]",function(e){e.bind(function(o){var t="needs_refresh";o?e.notifications.add(t,new wp.customize.Notification(t,{type:"info",message:rock_star_data.reset_message})):e.notifications.remove(t)})}),t.controlConstructor.radio=t.Control.extend({ready:function(){"rock_star_theme_options[color_scheme]"===this.id&&this.setting.bind("change",function(o){color_hex_value="light"==o?"#ffffff":"#000000",t("background_color").set(color_hex_value),t.control("background_color").container.find(".color-picker-hex").data("data-default-color",color_hex_value).wpColorPicker("defaultColor",color_hex_value)})}})}(wp.customize);
Save
Cancel