From ee23e6f11847f16a89ed52d85fea354c9c86c9a4 Mon Sep 17 00:00:00 2001 From: Vaida Plankyte Date: Fri, 4 Aug 2017 15:04:51 +0100 Subject: [PATCH] frontend: Fix default_language_modal aria-hidden assignment. --- static/js/settings_display.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/settings_display.js b/static/js/settings_display.js index 1ad6091194..3a986d6d73 100644 --- a/static/js/settings_display.js +++ b/static/js/settings_display.js @@ -9,12 +9,14 @@ exports.set_up = function () { $("#emojiset_select").val(page_params.emojiset); $("#default_language_modal [data-dismiss]").click(function () { + $('#default_language_modal').attr('aria-hidden', true); $("#default_language_modal").fadeOut(300); }); $("#default_language_modal .language").click(function (e) { e.preventDefault(); e.stopPropagation(); + $('#default_language_modal').show().attr('aria-hidden', true); $('#default_language_modal').fadeOut(300); var data = {};