1
0
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:
Allan Jardine 2020-05-21 09:31:16 +00:00
parent 68798c37ac
commit adef96b700
2 changed files with 1 additions and 11 deletions

View File

@ -1 +1 @@
0c710d8a5273e756d2125c1cdfa91672b7d213da
b3feb8979f2c7d4b43816b998443fb647a93cbdb

View File

@ -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 )
);