diff --git a/src/wp-admin/js/custom-background.js b/src/wp-admin/js/custom-background.js index c41ca6b00b..81fd59170c 100644 --- a/src/wp-admin/js/custom-background.js +++ b/src/wp-admin/js/custom-background.js @@ -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); diff --git a/src/wp-admin/js/custom-header.js b/src/wp-admin/js/custom-header.js index d93ac3895c..ce224e448b 100644 --- a/src/wp-admin/js/custom-header.js +++ b/src/wp-admin/js/custom-header.js @@ -1,3 +1,4 @@ +/* global isRtl */ (function($) { var frame;