Fix JSHint errors in custom-header.js and custom-background.js.
props jorbin. fixes #25915, #25916. git-svn-id: https://develop.svn.wordpress.org/trunk@26158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e02e255eb
commit
efe54a3ac6
@ -1,7 +1,8 @@
|
|||||||
|
/* global ajaxurl */
|
||||||
(function($) {
|
(function($) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var bgImage = $("#custom-background-image"),
|
var frame,
|
||||||
frame;
|
bgImage = $( '#custom-background-image' );
|
||||||
|
|
||||||
$('#background-color').wpColorPicker({
|
$('#background-color').wpColorPicker({
|
||||||
change: function( event, ui ) {
|
change: function( event, ui ) {
|
||||||
@ -71,4 +72,4 @@
|
|||||||
frame.open();
|
frame.open();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/* global isRtl */
|
||||||
(function($) {
|
(function($) {
|
||||||
var frame;
|
var frame;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user