__setColumnVis : Redundant Code

__setColumnVis : Redundant Code

sameeralikhansameeralikhan Posts: 17Questions: 1Answers: 2
edited December 2015 in Free community support

On Line 8416 - jquery.dataTable.js (1.10.10) has redundant code

REDUNDANT CODE

// Realign columns for scrolling
if ( settings.oScroll.sX || settings.oScroll.sY ) {
  fnScrollDraw( settings );
}

This code in turn is calling scroll draw

// Automatically adjust column sizing
fnAdjustColumnSizing( settings );

Please check and provide your comment.

Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Replies

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    Agreed - thanks for pointing that out. Committed here (annoyingly I also accidentally committed a change for the Foundation integration at the same time...).

    Allan

This discussion has been closed.