mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-28 10:24:10 +01:00
Fix - docs: Typo in ColReorder link
- Thank you Iain Twentyman
This commit is contained in:
parent
68798c37ac
commit
adef96b700
@ -1 +1 @@
|
||||
0c710d8a5273e756d2125c1cdfa91672b7d213da
|
||||
b3feb8979f2c7d4b43816b998443fb647a93cbdb
|
||||
|
@ -28,7 +28,6 @@ if ( window.$ ) {
|
||||
|
||||
// init html
|
||||
var table = $('<p/>').append( $('table').clone() ).html();
|
||||
|
||||
var demoHtml = $.trim( $('div.demo-html').html() );
|
||||
|
||||
if ( demoHtml ) {
|
||||
@ -64,15 +63,6 @@ if ( window.$ ) {
|
||||
str = JSON.stringify( str, null, 2 );
|
||||
} catch ( e ) {}
|
||||
|
||||
var strArr = str.split('\n');
|
||||
|
||||
if(strArr.length > 1000){
|
||||
var first = strArr.splice(0, 500);
|
||||
var second = strArr.splice(strArr.length - 499, 499);
|
||||
first.push("\n\n... Truncated for brevity - look at your browser's network inspector to see the full source ...\n\n");
|
||||
str = first.concat(second).join('\n');
|
||||
}
|
||||
|
||||
$('div.tabs div.ajax').append(
|
||||
$('<code class="multiline language-js"/>').text( str )
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user