From ba089a63c4141b80591c69846f0c95aede28b486 Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 21 Mar 2019 03:32:12 +0100 Subject: [PATCH] Revert "Added hover event to help text" This reverts commit 69eb06119d5a57de0e405b164759aff6377eac44. --- plugins/dynamix/include/DefaultPageLayout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index 238d6b1f7..29171ff3e 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -612,9 +612,9 @@ $(function() { node = node.prev(); name = node.prop('nodeName').toLowerCase(); } - node.css('cursor','help').click(function(){$('#helpinfo'+i).toggle('slow');clearTimeout(delay);delay=null;}).hover(function(){delay=setTimeout(function(){$('#helpinfo'+i).show('slow');},1000);},function(){if(delay){clearTimeout(delay);$('#helpinfo'+i).hide('slow');}}); + node.css('cursor','help').click(function(){$('#helpinfo'+i).toggle('slow');}).hover(function(){delay=setTimeout(function(){$('#helpinfo'+i).show('slow');},1000);},function(){clearTimeout(delay);$('#helpinfo'+i).hide('slow');}); } else { - if (node.html() && (name!='tr' || node.children('td:first').html())) node.css('cursor','help').click(function(){$('#helpinfo'+i).toggle('slow');clearTimeout(delay);delay=null;}).hover(function(){delay=setTimeout(function(){$('#helpinfo'+i).show('slow');},1000);},function(){if(delay){clearTimeout(delay);$('#helpinfo'+i).hide('slow');}}); + if (node.html() && (name!='tr' || node.children('td:first').html())) node.css('cursor','help').click(function(){$('#helpinfo'+i).toggle('slow');}).hover(function(){delay=setTimeout(function(){$('#helpinfo'+i).show('slow');},1000);},function(){clearTimeout(delay);$('#helpinfo'+i).hide('slow');}); } }); });