From 1a8114c00f22252b6e2b0c4a741f0bea1de5dd1d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 26 Oct 2010 14:04:54 -0500 Subject: Make package differences JS a bit more efficient Use an id-based selector so we can get the necessary table rows to filter a lot more quickly than a lengthy CSS selector. Also use traversal rather than selectors when grabbing the package versions. This looked like a 3x-4x increase in speed while testing locally. Signed-off-by: Dan McGee --- templates/packages/differences.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/packages') diff --git a/templates/packages/differences.html b/templates/packages/differences.html index a5db39a..b2a1be0 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -37,7 +37,7 @@ {{ arch_b.name }} Version - + {% for diff in differences %} {{ diff.pkgname }} -- cgit v1.2.3-24-g4f1b