1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-17 21:15:47 +02:00

Make middle-click tweet actions work in detail view

This commit is contained in:
chylex 2017-10-18 16:50:34 +02:00
parent afffca020e
commit 0559afd972

View File

@ -816,7 +816,7 @@
// //
// Block: Make middle click on tweet reply icon open the compose drawer, retweet icon trigger a quote, and favorite icon open a 'Like from accounts...' modal. // Block: Make middle click on tweet reply icon open the compose drawer, retweet icon trigger a quote, and favorite icon open a 'Like from accounts...' modal.
// //
app.delegate(".tweet-action", "auxclick", function(e){ app.delegate(".tweet-action,.tweet-detail-action", "auxclick", function(e){
return if e.which !== 2; return if e.which !== 2;
let column = TD.controller.columnManager.get($(this).closest("section.js-column").attr("data-column")); let column = TD.controller.columnManager.get($(this).closest("section.js-column").attr("data-column"));