From cf46f01c7d227375f9d6bf46da0ee97b132a1b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Fri, 2 Oct 2015 10:00:40 +0200 Subject: Remove code rot: class "translatable" is not used anymore. --- index.html | 12 ++++++------ js/codeq/hint.js | 4 ++-- js/codeq/problem.js | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index c21850b..d594f0c 100644 --- a/index.html +++ b/index.html @@ -159,8 +159,8 @@
-

-
+

+
Instructions
@@ -196,8 +196,8 @@
-

-
+

+
Instructions
@@ -237,8 +237,8 @@
-

-
+

+
Instructions
diff --git a/js/codeq/hint.js b/js/codeq/hint.js index 75df457..fb07cfb 100644 --- a/js/codeq/hint.js +++ b/js/codeq/hint.js @@ -205,7 +205,7 @@ trContent[lang] = msg; } } - jq = $('
'); + jq = $('
'); hintIndex++; if (jqButton) { if (hintIndex < Nhints) { @@ -232,7 +232,7 @@ if (Nhints > 1) { // hint sequence jqContainer = $('
'); - jqButton = $(''); + jqButton = $(''); jqHints.append(jqContainer); jqContainer.append(jqButton); jqButton.on('click', function () { diff --git a/js/codeq/problem.js b/js/codeq/problem.js index a875c45..e430b21 100644 --- a/js/codeq/problem.js +++ b/js/codeq/problem.js @@ -204,16 +204,16 @@ var langDict = convertTranslations(rawTranslations, 'name', 'description'), // this will be the resulting dictionary: multi-level keys that lead up to the lang-dict groupDict, problemDict; // title: HTML structure for "name" and "desc" - html.push('


'); - html.push('
'); + html.push('


'); + html.push('
'); // content: problem directory html.push('
    '); for (i = 0; i < Ngroups; i++) { group = groups[i] || {}; groupDict = convertTranslations(group.translations, 'name', 'description'); // the group-level translations, added will // group content - html.push('
  • '); - html.push('
    '); + html.push('
  • '); + html.push('
    '); html.push('
      '); // problem content problems = group.problems || []; @@ -221,7 +221,7 @@ for (j = 0; j < Nproblems; j++) { problem = problems[j] || {}; problemDict = convertTranslations(problem.translations, 'name'); - html.push('
    • '); + html.push('
    • '); problemReferences.push({'g': group.identifier || 'nogroup', 'p': problem.identifier || 'noproblem', 'id': problem.id}); } html.push('
  • '); -- cgit v1.2.1