diff options
author | Aleš Smodiš <aless@guru.si> | 2015-10-02 10:00:40 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-10-02 10:00:40 +0200 |
commit | cf46f01c7d227375f9d6bf46da0ee97b132a1b82 (patch) | |
tree | e6785224764edf14d71bcd3fa31335d18c2123d6 /js/codeq | |
parent | 31fd0269ba3583765f5d6517365130a8e27878eb (diff) |
Remove code rot: class "translatable" is not used anymore.
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/hint.js | 4 | ||||
-rw-r--r-- | js/codeq/problem.js | 10 |
2 files changed, 7 insertions, 7 deletions
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 = $('<div class="hint-static translatable" ' + ta(trContent) + '></div>'); + jq = $('<div class="hint-static" ' + ta(trContent) + '></div>'); hintIndex++; if (jqButton) { if (hintIndex < Nhints) { @@ -232,7 +232,7 @@ if (Nhints > 1) { // hint sequence jqContainer = $('<div class="hint-static-group"></div>'); - jqButton = $('<a class="hint-static-link translatable" ' + ta(trButton) + '></a>'); + jqButton = $('<a class="hint-static-link" ' + ta(trButton) + '></a>'); 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('<h1 class="language-title translatable" ', ta(langDict.name), '></h1><hr>'); - html.push('<div class="language-description translatable" ', ta(langDict.description), '></div>'); + html.push('<h1 class="language-title" ', ta(langDict.name), '></h1><hr>'); + html.push('<div class="language-description" ', ta(langDict.description), '></div>'); // content: problem directory html.push('<ul class="language-problems">'); 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('<li><div class="group-title translatable" ', ta(groupDict.name), '></div>'); - html.push('<div class="group-description translatable" ', ta(groupDict.description), '></div>'); + html.push('<li><div class="group-title" ', ta(groupDict.name), '></div>'); + html.push('<div class="group-description" ', ta(groupDict.description), '></div>'); html.push('<ul class="group-problems">'); // 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('<li><a class="problem-', '' + problemReferences.length, ' translatable" ', ta(problemDict.name), '></a></li>'); + html.push('<li><a class="problem-', '' + problemReferences.length, '" ', ta(problemDict.name), '></a></li>'); problemReferences.push({'g': group.identifier || 'nogroup', 'p': problem.identifier || 'noproblem', 'id': problem.id}); } html.push('</ul></li>'); |