From 9a1fddf79badc58abe0a80764ebe762fecf4d804 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sat, 13 Aug 2011 08:30:22 +0100 Subject: [PATCH] Fix: Fix typo in internal variable name - "asDestoryStrips" should have been "asDestroyStrips" --- media/js/jquery.dataTables.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 85fec435..499759b7 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -1091,11 +1091,11 @@ this.asStripClasses = []; /* - * Variable: asDestoryStrips + * Variable: asDestroyStrips * Purpose: If restoring a table - we should restore it's striping classes as well * Scope: jQuery.dataTable.classSettings */ - this.asDestoryStrips = []; + this.asDestroyStrips = []; /* * Variable: sDestroyWidth @@ -2241,8 +2241,8 @@ * this is not fool proof (for example if not all rows as odd/even classes - but * it's a good effort without getting carried away */ - $('>tr:even', nBody).addClass( oSettings.asDestoryStrips[0] ); - $('>tr:odd', nBody).addClass( oSettings.asDestoryStrips[1] ); + $('>tr:even', nBody).addClass( oSettings.asDestroyStrips[0] ); + $('>tr:odd', nBody).addClass( oSettings.asDestroyStrips[1] ); /* Remove the settings object from the settings array */ for ( i=0, iLen=_aoSettings.length ; i