summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-15 06:45:27 +0100
committerDan McGee <dan@archlinux.org>2011-01-15 06:45:27 +0100
commit758476b547c4a4a86541923cd27fab4970060a5b (patch)
treece44190313818dd2dccc8ab037d11dd974e291b8
parent55fa62b69837a70bcd58f05249f7337a909dcf18 (diff)
downloadarchweb-758476b547c4a4a86541923cd27fab4970060a5b.tar.gz
archweb-758476b547c4a4a86541923cd27fab4970060a5b.tar.xz
Use more efficient updateCell event after todo list click
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--media/archweb.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/media/archweb.js b/media/archweb.js
index 7a0d1dc..b2f3af2 100644
--- a/media/archweb.js
+++ b/media/archweb.js
@@ -150,8 +150,7 @@ function todolist_flag() {
'incomplete').removeClass('complete');
}
/* let tablesorter know the cell value has changed */
- /* newer version of tablesorter: $('.results').trigger('updateCell', $(link).parent('td')); */
- $('.results').trigger('update');
+ $('.results').trigger('updateCell', $(link).parent('td'));
});
return false;
}