mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-21 15:15:48 +02:00
Re-add the link click event to notification.js to fix certain link types
This commit is contained in:
parent
c6aaa4fb04
commit
3e4cd3c92f
@ -13,6 +13,14 @@
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Block: Hook into links to bypass default open function.
|
||||
//
|
||||
addEventListener(links,"click",function(e){
|
||||
$TD.openBrowser(e.currentTarget.getAttribute("href"));
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
//
|
||||
// Block: Allow bypassing of t.co in context menus.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user