1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-15 06:15:47 +02:00

Fix link expansion & tooltips not working with long domains (ellipsis in front)

Closes 
This commit is contained in:
chylex 2017-10-25 19:23:02 +02:00
parent 9cc1a11bef
commit 934cba7251
2 changed files with 2 additions and 2 deletions
Resources/Scripts

View File

@ -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(){

View File

@ -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(){