Enable searching for countries in dropdown
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
jQuery(document).ready(function($){
|
||||
|
||||
// Display custom sport name field as needed
|
||||
$("body.settings_page_sportspress #sportspress_sport").change(function() {
|
||||
$target = $("#sportspress_custom_sport_name");
|
||||
if ( $(this).val() == "custom" )
|
||||
@@ -8,6 +9,9 @@ jQuery(document).ready(function($){
|
||||
$target.hide();
|
||||
});
|
||||
|
||||
// Chosen select
|
||||
$(".chosen-select").chosen();
|
||||
|
||||
// Auto key placeholder
|
||||
$("#poststuff #title").on("keyup", function() {
|
||||
$("#sp_key").attr("placeholder", $(this).val().replace(/[^a-z]/gi,"").toLowerCase());
|
||||
|
||||
Reference in New Issue
Block a user