fix resize 3

This commit is contained in:
yuri
2015-08-28 14:30:17 +03:00
parent 08b576105c
commit 725a2be959
+4 -1
View File
@@ -154,10 +154,13 @@ Espo.define('Views.Site.Navbar', 'View', function (Dep) {
var $navbar = $('#navbar .navbar');
var navbarNeededHeight = 45;
$moreDd = $('#nav-more-tabs-dropdown');
var updateWidth = function () {
var windowWidth = $(window.document).width();
var windowWidth = window.innerWidth;
var moreWidth = $more.width();
var moreWidth = $moreDd.width();
$more.children('li').each(function (i, li) {
unhideOneTab();