wp/wp-admin/js/custom-background.js
changeset 5 5e2f62d02dcd
parent 0 d970ebf37754
child 7 cf61fcea0001
--- a/wp/wp-admin/js/custom-background.js	Mon Jun 08 16:11:51 2015 +0000
+++ b/wp/wp-admin/js/custom-background.js	Tue Jun 09 03:35:32 2015 +0200
@@ -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);