http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90626
Revision: 90626
Author: diebuche
Date: 2011-06-22 23:03:12 +0000 (Wed, 22 Jun 2011)
Log Message:
-----------
Tablesorter: Remove not really necessary setTimeout.
Modified Paths:
--------------
trunk/phase3/resources/jquery/jquery.tablesorter.js
Modified: trunk/phase3/resources/jquery/jquery.tablesorter.js
===================================================================
--- trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-22 23:02:53 UTC
(rev 90625)
+++ trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-22 23:03:12 UTC
(rev 90626)
@@ -579,14 +579,14 @@
config.sortList.push( [i, this.order] );
}
}
- setTimeout( function ()
{
- // set css for
headers
- setHeadersCss(
$this[0], $headers, config.sortList, sortCSS, sortMsg );
- appendToTable(
- $this[0],
multisort(
- $this[0],
config.sortList, cache ) );
- //benchmark(
"Sorting " + totalRows + " rows:", clickTime );
- }, 1 );
+
+ // set css for headers
+ setHeadersCss(
$this[0], $headers, config.sortList, sortCSS, sortMsg );
+ appendToTable(
+ $this[0], multisort(
+ $this[0],
config.sortList, cache ) );
+ //benchmark( "Sorting "
+ totalRows + " rows:", clickTime );
+
// stop normal event by
returning false
return false;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs