diff options
Diffstat (limited to 'js/codeq/problem_list.js')
-rw-r--r-- | js/codeq/problem_list.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index e5ca36e..21d376b 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ (function(){ "use strict"; - var jqScreen = $('#screen_problem_list'), + var jqScreen = $('#screen-problem-list'), languageCache = {}, // keyed by language identifier: processed data about languages translationCache = [], // keys are autogenerated in ta(), a value is a dictionary of translations of a translation key for every language problemCache = {}, // problem data cache, 3-level, keyed by: language, problem group, and problem identifier @@ -428,7 +428,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ 'enter': function(language){ var data = languageCache[language]; // language data - $("#navigation-problem_list").addClass("active").css('display', ''); + $("#navigation-problem-list").addClass("active").css('display', ''); if (!language) language = currentLanguage; // This happens when we hit this with the back button if (language !== currentLanguage) { @@ -453,7 +453,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ }, 'exit' : function(){ jqScreen.css('display', 'none'); - $('#navigation-problem_list').css('display', 'none').removeClass("active"); + $('#navigation-problem-list').css('display', 'none').removeClass("active"); } }); })(); |