1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-09-14 10:32:10 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
651d9be57c Release 1.19.0.2 2020-06-14 15:54:19 +02:00
eeb32db6fb Work around CEF tooltip showing for links 2020-06-14 15:22:58 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -95,8 +95,9 @@
html.find(".js-media").remove();
}
html.find("a[data-full-url]").each(function(){ // bypass t.co on all links
html.find("a[data-full-url]").each(function(){ // bypass t.co on all links and fix tooltips
this.href = this.getAttribute("data-full-url");
this.removeAttribute("title");
});
html.find("a[href='#']").each(function(){ // remove <a> tags around links that don't lead anywhere (such as account names the tweet replied to)
@@ -303,6 +304,8 @@ execSafe(function setupLinkExpansionOrTooltip(){
}, 200);
}
else{
me.removeAttr("title");
tooltipTimer = window.setTimeout(function(){
$TD.displayTooltip(me.attr("data-full-url"));
tooltipDisplayed = true;

View File

@@ -6,6 +6,6 @@ using Version = TweetDuck.Version;
namespace TweetDuck{
internal static class Version{
public const string Tag = "1.19.0.1";
public const string Tag = "1.19.0.2";
}
}