diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 94594b3f..d8888d34 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -375,7 +375,7 @@ mouseenter: function(){ let me = $(this); let text = me.text(); - return if text.charCodeAt(text.length-1) !== 8230; // horizontal ellipsis + return if text.charCodeAt(text.length-1) !== 8230 && text.charCodeAt(0) !== 8230; // horizontal ellipsis if ($TDX.expandLinksOnHover){ tooltipTimer = window.setTimeout(function(){ diff --git a/Resources/Scripts/notification.js b/Resources/Scripts/notification.js index e40b2ba8..3acd8729 100644 --- a/Resources/Scripts/notification.js +++ b/Resources/Scripts/notification.js @@ -52,7 +52,7 @@ return if !url; var text = me.textContent; - return if text.charCodeAt(text.length-1) !== 8230; // horizontal ellipsis + return if text.charCodeAt(text.length-1) !== 8230 && text.charCodeAt(0) !== 8230; // horizontal ellipsis if ($TDX.expandLinksOnHover){ tooltipTimer = window.setTimeout(function(){