forked from extern/egroupware
Make sure x & y are still defined.
Avoids FF issue of tooltip in top left corner if source widget disappears before the timeout fires.
This commit is contained in:
parent
369a478733
commit
b6b2094643
@ -46,7 +46,7 @@ egw.extend('tooltip', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
|||||||
*/
|
*/
|
||||||
function show()
|
function show()
|
||||||
{
|
{
|
||||||
if (tooltip_div)
|
if (tooltip_div && typeof x !== 'undefined' && typeof y !== 'undefined')
|
||||||
{
|
{
|
||||||
//Calculate the cursor_rectangle - this is a space the tooltip might
|
//Calculate the cursor_rectangle - this is a space the tooltip might
|
||||||
//not overlap with
|
//not overlap with
|
||||||
|
Loading…
Reference in New Issue
Block a user