]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/custom-background.js
WordPress 4.4.2
[autoinstalls/wordpress.git] / wp-admin / js / custom-background.js
index c41ca6b00b211068e825e9d8a720b1e8fa6ce590..81fd59170c659daf0f9224a4b34ed7505deb04f4 100644 (file)
@@ -1,7 +1,8 @@
+/* global ajaxurl */
 (function($) {
        $(document).ready(function() {
-               var bgImage = $("#custom-background-image"),
-                       frame;
+               var frame,
+                       bgImage = $( '#custom-background-image' );
 
                $('#background-color').wpColorPicker({
                        change: function( event, ui ) {
@@ -71,4 +72,4 @@
                        frame.open();
                });
        });
-})(jQuery);
\ No newline at end of file
+})(jQuery);