frontend: Fix default_language_modal aria-hidden assignment.

This commit is contained in:
Vaida Plankyte 2017-08-04 15:04:51 +01:00 committed by Tim Abbott
parent 5a5072730c
commit ee23e6f118
1 changed files with 2 additions and 0 deletions

View File

@ -9,12 +9,14 @@ exports.set_up = function () {
$("#emojiset_select").val(page_params.emojiset); $("#emojiset_select").val(page_params.emojiset);
$("#default_language_modal [data-dismiss]").click(function () { $("#default_language_modal [data-dismiss]").click(function () {
$('#default_language_modal').attr('aria-hidden', true);
$("#default_language_modal").fadeOut(300); $("#default_language_modal").fadeOut(300);
}); });
$("#default_language_modal .language").click(function (e) { $("#default_language_modal .language").click(function (e) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
$('#default_language_modal').show().attr('aria-hidden', true);
$('#default_language_modal').fadeOut(300); $('#default_language_modal').fadeOut(300);
var data = {}; var data = {};