Permalink
Browse files

Bug fix when index = 0

  • Loading branch information...
Brian Cray
Brian Cray committed Jun 1, 2012
1 parent 87a12af commit 7453f35b1e204a83e7f3b6a461c9a0afc6d44a67
Showing with 1 addition and 1 deletion.
  1. +1 −1 taboosorter.js
View
@@ -72,7 +72,7 @@
sort: function (index) {
var t = this,
el = $(t.el);
- index = index || t.settings.initial_column,
+ index = index == undefined ? t.settings.initial_column : index,
el.trigger('sort_start');
t._sort_column(index);

0 comments on commit 7453f35

Please sign in to comment.