mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Fix: Was only binding xhr event where there was more than one table! Doh!
This commit is contained in:
parent
c5172dc920
commit
486315a25c
@ -333,7 +333,7 @@ var dtLinks = [
|
||||
|
||||
/* Show and syntax highlight XHR returns from the server */
|
||||
$(document).ready( function () {
|
||||
if ( $.fn.dataTableSettings.length > 1 ) {
|
||||
if ( $.fn.dataTableSettings.length >= 1 ) {
|
||||
$('#example').dataTable().bind('xhr', function ( e, oSettings ) {
|
||||
var n = document.getElementById('latest_xhr');
|
||||
n.innerHTML = JSON.stringify(
|
||||
|
Loading…
Reference in New Issue
Block a user