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:
parent
afffca020e
commit
0559afd972
@ -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"));
|
||||||
|
Loading…
Reference in New Issue
Block a user