mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-09-14 10:32:10 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
651d9be57c | |||
eeb32db6fb |
@@ -95,8 +95,9 @@
|
|||||||
html.find(".js-media").remove();
|
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.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)
|
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);
|
}, 200);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
me.removeAttr("title");
|
||||||
|
|
||||||
tooltipTimer = window.setTimeout(function(){
|
tooltipTimer = window.setTimeout(function(){
|
||||||
$TD.displayTooltip(me.attr("data-full-url"));
|
$TD.displayTooltip(me.attr("data-full-url"));
|
||||||
tooltipDisplayed = true;
|
tooltipDisplayed = true;
|
||||||
|
@@ -6,6 +6,6 @@ using Version = TweetDuck.Version;
|
|||||||
|
|
||||||
namespace TweetDuck{
|
namespace TweetDuck{
|
||||||
internal static class Version{
|
internal static class Version{
|
||||||
public const string Tag = "1.19.0.1";
|
public const string Tag = "1.19.0.2";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user