mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-08 11:34:05 +02:00
Fix clicking on tweet links both opening browser and showing the tweet in app
This commit is contained in:
parent
ee282713f8
commit
eccd37a3eb
@ -173,7 +173,7 @@
|
||||
var me = $(this);
|
||||
var rel = me.attr("rel");
|
||||
|
||||
if (!me.is(".link-complex") && !(rel === "mediaPreview" && me.closest("#open-modal").length === 0) && rel !== "list" && rel !== "user"){
|
||||
if (!me.is(".link-complex") && !(rel === "mediaPreview" && me.closest("#open-modal").length === 0) && rel !== "list" && rel !== "user" && rel !== "tweet"){
|
||||
$TD.openBrowser(me.attr("href"));
|
||||
onUrlOpened();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user