mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-20 03:15:47 +02:00
Fix clipboard html styles when copying text from notifications
This commit is contained in:
parent
f65c33c432
commit
8c452d3fa2
@ -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.
|
// Block: Setup a skip button.
|
||||||
//
|
//
|
||||||
if (!document.body.hasAttribute("td-example-notification")){
|
if (!document.body.hasAttribute("td-example-notification")){
|
||||||
|
Loading…
Reference in New Issue
Block a user