Bug 128765 - Fix

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1742 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2013-07-23 15:08:50 +00:00
parent 102f4f2f67
commit 07d2f9841a
1 changed files with 4 additions and 4 deletions

View File

@ -45,8 +45,8 @@ addListener(window, 'load', function()
addListener(s, 'mouseover', function(e)
{
e = e || window.event;
var from = e.relatedTarget || e.fromElement;
if (from == s || from.parentNode == s || s.offsetWidth <= lim)
var f = e.relatedTarget || e.fromElement;
if (f == s || f.parentNode == s || !s.style.width && s.offsetWidth <= lim)
return;
var c = s;
while (c && c.nodeName != 'TABLE')
@ -64,8 +64,8 @@ addListener(window, 'load', function()
});
addListener(s, 'mouseout', function(e) {
e = e || window.event;
var to = e.relatedTarget || e.toElement;
if (to == s || to.parentNode == s)
var t = e.relatedTarget || e.toElement;
if (t == s || t.parentNode == s)
return;
s.style.width = lim+'px';
s.style.maxWidth = '';