mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-21 15:15:48 +02:00
Fix non-quoted tweet links opening in browser despite also opening in the column
Closes #273
This commit is contained in:
parent
89529f9c96
commit
65b8efe13c
@ -572,7 +572,9 @@
|
||||
//
|
||||
execSafe(function setupShortenerBypass(){
|
||||
$(document.body).delegate("a[data-full-url]", "click auxclick", function(e){
|
||||
if (e.button === 0 || e.button === 1){ // event.which seems to be borked in auxclick
|
||||
// event.which seems to be borked in auxclick
|
||||
// tweet links open directly in the column
|
||||
if ((e.button === 0 || e.button === 1) && $(this).attr("rel") !== "tweet"){
|
||||
$TD.openBrowser($(this).attr("data-full-url"));
|
||||
e.preventDefault();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user