mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-23 17:42:46 +01:00
11 lines
238 B
JavaScript
11 lines
238 B
JavaScript
import { $TD } from "../api/bridge.js";
|
|
|
|
/**
|
|
* Removes HTML styles when copying HTML content to clipboard.
|
|
*/
|
|
export default function() {
|
|
document.addEventListener("copy", function() {
|
|
window.setTimeout($TD.fixClipboard, 0);
|
|
});
|
|
};
|