From 5bfb1a004a9c6828c5b6a002d15f7eeb2ce14c9a Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 29 Nov 2010 09:46:39 -0500 Subject: quote class member the class member variable is a reserved keyword in Javascript. This patch fixes a syntax error. --- install/static/details.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/static/details.js b/install/static/details.js index a989d9d4..f549e6a4 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -428,7 +428,7 @@ function ipa_button(spec) { }); if (spec.click) button.click(spec.click); - if (spec.class) button.addClass(spec.class); + if (spec['class']) button.addClass(spec['class']); if (spec.icon) button.append(' '); return button; -- cgit