forked from Michel2/wp-jquery-datatable
Removed the extra Select option from the page lenght menu
This commit is contained in:
@@ -262,10 +262,6 @@ function wp_jdt_shortcode($atts)
|
||||
'search': '<?php echo esc_js(esc_html__('Searching', 'wp-jquery-datatable')); ?>:'
|
||||
}
|
||||
});
|
||||
|
||||
$('#<?php echo esc_js($table_id); ?>_wrapper select')
|
||||
.prepend('<option value="<?php echo $table_page_length; ?>"><?php echo esc_js(esc_html__('Select')); ?></option>')
|
||||
.val('');
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user