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

Fix clipboard html styles when copying text from notifications

This commit is contained in:
chylex 2018-01-10 22:47:06 +01:00
parent f65c33c432
commit 8c452d3fa2

View File

@ -100,6 +100,12 @@
})();
//
// Block: Work around clipboard HTML formatting.
//
document.addEventListener("copy", function(e){
window.setTimeout($TD.fixClipboard, 0);
});
// Block: Setup a skip button.
//
if (!document.body.hasAttribute("td-example-notification")){