From 7e4a0096de9599cacb582268f236402a4c5d3300 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 11 May 2009 20:13:45 +1000 Subject: [PATCH] Fix use of reserved word "class" in template.completionRow. --- common/content/template.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/content/template.js b/common/content/template.js index 85614d66..ee149ab2 100644 --- a/common/content/template.js +++ b/common/content/template.js @@ -44,12 +44,12 @@ const template = { return <>{xml}; }, - completionRow: function completionRow(item, class) + completionRow: function completionRow(item, highlightGroup) { if (typeof icon == "function") icon = icon(); - if (class) + if (highlightGroup) { var text = item[0] || ""; var desc = item[1] || ""; @@ -61,7 +61,7 @@ const template = { } // - return
+ return