From ae83ed677c922fd39f0dfb37132dbab5b75d3237 Mon Sep 17 00:00:00 2001 From: hallgren Date: Sat, 7 May 2011 17:36:49 +0000 Subject: [PATCH] gfse: fix a problem in browsers where "class" is a reserved keyword --- src/editor/simple/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/simple/editor.js b/src/editor/simple/editor.js index f6e47fc5d..30e989940 100644 --- a/src/editor/simple/editor.js +++ b/src/editor/simple/editor.js @@ -168,7 +168,7 @@ function add_concrete(g,el) { :"scratch"; file.appendChild(p(text("You are about to create a new concrete syntax by starting from "+from+"."))); file.appendChild(p(text("Pick a language for the new concrete syntax:"))); - file.appendChild(node("ul",{class:"languages"},list)); + file.appendChild(node("ul",{"class":"languages"},list)); } function new_concrete(code) {