Move SportsPress to top-level page

This commit is contained in:
Brian Miyaji
2014-04-10 13:24:22 +10:00
parent 6e1f8e88e6
commit c9709948ce
22 changed files with 127 additions and 88 deletions

View File

@@ -1,7 +1,7 @@
jQuery(document).ready(function($){
// Display custom sport name field as needed
$("body.settings_page_sportspress #sportspress_sport").change(function() {
$("body.toplevel_page_sportspress #sportspress_sport").change(function() {
$target = $("#sportspress_custom_sport_name");
if ( $(this).val() == "custom" )
$target.show();