Make it a little bit "smarter" using jQuery to avoid default $order value
This commit is contained in:
@@ -886,4 +886,13 @@ jQuery(document).ready(function($){
|
||||
|
||||
// Trigger box score time converter
|
||||
$('.sp-convert-time-input').change();
|
||||
|
||||
// Trigger show/hide of team table ordering
|
||||
$('#sp_orderby').change(function(){
|
||||
if ($('#sp_orderby').val() == 'default') {
|
||||
$("#sp_order").hide();
|
||||
}else{
|
||||
$('#sp_order').show();
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user