mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
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:
@@ -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());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user