desktop: Remove logic for legacy QT/webkit desktop app.

We leave around a few comments that may help the new electron desktop
app do similar things in the future.
This commit is contained in:
Tim Abbott
2018-05-15 15:50:52 -07:00
parent 9eb3bdaf6c
commit 954fd8178f
5 changed files with 7 additions and 80 deletions

View File

@@ -134,13 +134,6 @@ function copy_handler() {
construct_copy_div(div, start_id, end_id);
}
if (window.bridge !== undefined) {
// If the user is running the desktop app,
// convert emoji images to plain text for
// copy-paste purposes.
ui.replace_emoji_with_text(div);
}
// Select div so that the browser will copy it
// instead of copying the original selection
div.css({position: 'absolute', left: '-99999px'})