From 881a11c9478b373c2409e0bbc7cf49b0735a9a9a Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Tue, 14 Apr 2015 17:56:49 +1000 Subject: [PATCH] Hide configure button when sport is changed --- assets/js/admin/sportspress-admin.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/js/admin/sportspress-admin.js b/assets/js/admin/sportspress-admin.js index eb81d3c5..87b44db2 100644 --- a/assets/js/admin/sportspress-admin.js +++ b/assets/js/admin/sportspress-admin.js @@ -620,4 +620,9 @@ jQuery(document).ready(function($){ // Fitvids $(".sp-fitvids").fitVids(); + + // Display configure sport button + $(".sp-select-sport").change(function() { + $(".sp-configure-sport").hide(); + }); }); \ No newline at end of file