1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-13 18:15:48 +02:00

Delay 'View detail' if the website is reloading

This commit is contained in:
chylex 2017-08-28 22:46:06 +02:00
parent d7ad62d476
commit eeaf6949c5

View File

@ -222,6 +222,14 @@
};
window.TDGF_showTweetDetail = function(columnId, chirpId, fallbackUrl){
if (!TD.ready){
onAppReady.push(function(){
window.TDGF_showTweetDetail(columnId, chirpId, fallbackUrl);
});
return;
}
let column = TD.controller.columnManager.getByApiid(columnId);
if (!column){