1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-30 05:34:06 +02:00

Re-add the link click event to notification.js to fix certain link types

This commit is contained in:
chylex 2016-07-06 02:11:45 +02:00
parent c6aaa4fb04
commit 3e4cd3c92f

View File

@ -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. // Block: Allow bypassing of t.co in context menus.
// //