mirror of https://github.com/zulip/zulip.git
frontend: Fix default_language_modal aria-hidden assignment.
This commit is contained in:
parent
5a5072730c
commit
ee23e6f118
|
@ -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 = {};
|
||||||
|
|
Loading…
Reference in New Issue