From 2b58ebe3273a660f7af6d54b08521557d435c69c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 23 Apr 2013 17:12:48 -0700 Subject: [PATCH] Compensate menuOver() for ellipsis --- adminer/static/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index f0976c9e..a47f3b6a 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -218,7 +218,7 @@ function pageClick(href, page, event) { */ function menuOver(el, event) { var a = event.target; - if (/^a$/i.test(a.tagName) && a.offsetLeft + a.offsetWidth > a.parentNode.offsetWidth) { + if (/^a$/i.test(a.tagName) && a.offsetLeft + a.offsetWidth > a.parentNode.offsetWidth - 15) { // 15 - ellipsis el.style.overflow = 'visible'; } }