REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.64 KB
Close
/home/jambtst2015/public_html/tomorrowzfurniture.com/wp-content/themes/twentynineteen/js/customize-preview.js
Text
Base64
/** * File customize-preview.js. * * Theme Customizer enhancements for a better user experience. * * Contains handlers to make Theme Customizer preview reload changes asynchronously. */ (function( $ ) { // Primary color. wp.customize( 'primary_color', function( value ) { value.bind( function( to ) { // Update custom color CSS. var style = $( '#custom-theme-colors' ), hue = style.data( 'hue' ), css = style.html(), color; if( 'custom' === to ){ // If a custom primary color is selected, use the currently set primary_color_hue. color = wp.customize.get().primary_color_hue; } else { // If the "default" option is selected, get the default primary_color_hue. color = 199; } // Equivalent to css.replaceAll, with hue followed by comma to prevent values with units from being changed. css = css.split( hue + ',' ).join( color + ',' ); style.html( css ).data( 'hue', color ); }); }); // Primary color hue. wp.customize( 'primary_color_hue', function( value ) { value.bind( function( to ) { // Update custom color CSS. var style = $( '#custom-theme-colors' ), hue = style.data( 'hue' ), css = style.html(); // Equivalent to css.replaceAll, with hue followed by comma to prevent values with units from being changed. css = css.split( hue + ',' ).join( to + ',' ); style.html( css ).data( 'hue', to ); }); }); // Image filter. wp.customize( 'image_filter', function( value ) { value.bind( function( to ) { if ( to ) { $( 'body' ).addClass( 'image-filters-enabled' ); } else { $( 'body' ).removeClass( 'image-filters-enabled' ); } } ); } ); })( jQuery );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
.htaccess
391 B
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
customize-controls.js
710 B
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
customize-preview.js
1.64 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
priority-menu.js
5.25 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
skip-link-focus-fix.js
794 B
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
touch-keyboard-navigation.js
9.24 KB
lrw-r--r--
2024-11-22 17:53:11
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).