1
0
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:
chylex 2016-05-25 18:21:49 +02:00
parent ee282713f8
commit eccd37a3eb

View File

@ -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();
}