fix Bug 44762

This commit is contained in:
Irina Tiulneva 2020-07-28 12:02:57 +03:00
parent 16b48f3a8b
commit 56ba78d517

View File

@ -1,11 +1,11 @@
$(document).ready(function() { $(document).ready(function() {
$(".menuleft a, .bottommenu a").each(function(e) { $(".menuleft a, .bottommenu a").each(function (e) {
var t = window.location.href.replace(window.location.hash, "").toLowerCase(); var t = window.location.href.replace(window.location.hash, "").toLowerCase();
this.href.trim().toLowerCase() == t ? $(this).addClass("selected") : $(this).removeClass("selected") this.href.trim().toLowerCase() == t ? $(this).addClass("selected") : $(this).removeClass("selected")
}), });
function e() { function e() {
n = window.innerWidth, l > n ? location.reload(!0) : n > l ? location.reload(!0) : n = l n = window.innerWidth, l > n ? location.reload(!0) : n > l ? location.reload(!0) : n = l
} };
var t, n = window.innerWidth, var t, n = window.innerWidth,
l = 970; l = 970;
$(window).resize(function() { $(window).resize(function() {