/home/altere25/highwoodoutdoorpool.com/wp-admin/js
NameSizeModeActions
widgets/-0755rm
accordion.js29560644editdlrm
accordion.min.js8650644editdlrm
code-editor.js115880644editdlrm
code-editor.min.js30840644editdlrm
color-picker.js98000644editdlrm
color-picker.min.js35210644editdlrm
comment.js27930644editdlrm
comment.min.js12650644editdlrm
common.js436640644editdlrm
common.min.js157680644editdlrm
custom-background.js34190644editdlrm
custom-background.min.js11970644editdlrm
custom-header.js20170644editdlrm
customize-controls.js2911070644editdlrm
customize-controls.min.js1107830644editdlrm
customize-nav-menus.js1085900644editdlrm
customize-nav-menus.min.js456360644editdlrm
customize-widgets.js715900644editdlrm
customize-widgets.min.js280100644editdlrm
dashboard.js188470644editdlrm
dashboard.min.js66500644editdlrm
edit-comments.js370250644editdlrm
edit-comments.min.js151700644editdlrm
editor-expand.js426070644editdlrm
editor-expand.min.js134510644editdlrm
editor.js453340644editdlrm
editor.min.js132270644editdlrm
farbtastic.js76890644editdlrm
gallery.js56420644editdlrm
gallery.min.js38360644editdlrm
image-edit.js294690644editdlrm
image-edit.min.js101780644editdlrm
inline-edit-post.js162720644editdlrm
inline-edit-post.min.js72850644editdlrm
inline-edit-tax.js76970644editdlrm
inline-edit-tax.min.js29060644editdlrm
iris.min.js236430644editdlrm
language-chooser.js8730644editdlrm
language-chooser.min.js4090644editdlrm
link.js38750644editdlrm
link.min.js16700644editdlrm
media-gallery.js13050644editdlrm
media-gallery.min.js6130644editdlrm
media-upload.js34580644editdlrm
media-upload.min.js11470644editdlrm
media.js52210644editdlrm
media.min.js19020644editdlrm
nav-menu.js440600644editdlrm
nav-menu.min.js216420644editdlrm
password-strength-meter.js31710644editdlrm
password-strength-meter.min.js7660644editdlrm
plugin-install.js70230644editdlrm
plugin-install.min.js23880644editdlrm
post.js374200644editdlrm
post.min.js180620644editdlrm
postbox.js118110644editdlrm
postbox.min.js41790644editdlrm
privacy-tools.js90570644editdlrm
privacy-tools.min.js40080644editdlrm
revisions.js339200644editdlrm
revisions.min.js178750644editdlrm
set-post-thumbnail.js8410644editdlrm
set-post-thumbnail.min.js5680644editdlrm
site-health.js90450644editdlrm
site-health.min.js50330644editdlrm
svg-painter.js55320644editdlrm
svg-painter.min.js23720644editdlrm
tags-box.js110760644editdlrm
tags-box.min.js30600644editdlrm
tags-suggest.js54540644editdlrm
tags-suggest.min.js22290644editdlrm
tags.js46830644editdlrm
tags.min.js18170644editdlrm
theme-plugin-editor.js246690644editdlrm
theme-plugin-editor.min.js112360644editdlrm
theme.js547390644editdlrm
theme.min.js265080644editdlrm
updates.js805690644editdlrm
updates.min.js356600644editdlrm
user-profile.js110430644editdlrm
user-profile.min.js55760644editdlrm
user-suggest.js23170644editdlrm
user-suggest.min.js6920644editdlrm
widgets.js228670644editdlrm
widgets.min.js124170644editdlrm
word-count.js76960644editdlrm
word-count.min.js15350644editdlrm
xfn.js7590644editdlrm
xfn.min.js4760644editdlrm
Edit: /home/altere25/highwoodoutdoorpool.com/wp-admin/js/custom-background.js (3419B)
/** * @output wp-admin/js/custom-background.js */ /* global ajaxurl */ /** * Registers all events for customizing the background. * * @since 3.0.0 * * @requires jQuery */ (function($) { $(document).ready(function() { var frame, bgImage = $( '#custom-background-image' ); /** * Instantiates the WordPress color picker and binds the change and clear events. * * @since 3.5.0 * * @return {void} */ $('#background-color').wpColorPicker({ change: function( event, ui ) { bgImage.css('background-color', ui.color.toString()); }, clear: function() { bgImage.css('background-color', ''); } }); /** * Alters the background size CSS property whenever the background size input has changed. * * @since 4.7.0 * * @return {void} */ $( 'select[name="background-size"]' ).change( function() { bgImage.css( 'background-size', $( this ).val() ); }); /** * Alters the background position CSS property whenever the background position input has changed. * * @since 4.7.0 * * @return {void} */ $( 'input[name="background-position"]' ).change( function() { bgImage.css( 'background-position', $( this ).val() ); }); /** * Alters the background repeat CSS property whenever the background repeat input has changed. * * @since 3.0.0 * * @return {void} */ $( 'input[name="background-repeat"]' ).change( function() { bgImage.css( 'background-repeat', $( this ).is( ':checked' ) ? 'repeat' : 'no-repeat' ); }); /** * Alters the background attachment CSS property whenever the background attachment input has changed. * * @since 4.7.0 * * @return {void} */ $( 'input[name="background-attachment"]' ).change( function() { bgImage.css( 'background-attachment', $( this ).is( ':checked' ) ? 'scroll' : 'fixed' ); }); /** * Binds the event for opening the WP Media dialog. * * @since 3.5.0 * * @return {void} */ $('#choose-from-library-link').click( function( event ) { var $el = $(this); event.preventDefault(); // If the media frame already exists, reopen it. if ( frame ) { frame.open(); return; } // Create the media frame. frame = wp.media.frames.customBackground = wp.media({ // Set the title of the modal. title: $el.data('choose'), // Tell the modal to show only images. library: { type: 'image' }, // Customize the submit button. button: { // Set the text of the button. text: $el.data('update'), /* * Tell the button not to close the modal, since we're * going to refresh the page when the image is selected. */ close: false } }); /** * When an image is selected, run a callback. * * @since 3.5.0 * * @return {void} */ frame.on( 'select', function() { // Grab the selected attachment. var attachment = frame.state().get('selection').first(); var nonceValue = $( '#_wpnonce' ).val() || ''; // Run an AJAX request to set the background image. $.post( ajaxurl, { action: 'set-background-image', attachment_id: attachment.id, _ajax_nonce: nonceValue, size: 'full' }).done( function() { // When the request completes, reload the window. window.location.reload(); }); }); // Finally, open the modal. frame.open(); }); }); })(jQuery);