Use correct element in jQuery selector. props ocean90, see #12186.

git-svn-id: https://develop.svn.wordpress.org/trunk@15079 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-31 16:30:02 +00:00
parent d45fc420f4
commit 4a0f1ff357
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ jQuery(document).ready(function() {
jQuery('#custom-background-image').css('background-position', jQuery(this).val() + ' top');
});
jQuery('select[name="background-repeat"]').change(function() {
jQuery('input[name="background-repeat"]').change(function() {
jQuery('#custom-background-image').css('background-repeat', jQuery(this).val());
});