mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-02-20 14:50:41 +01:00
tidy comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c6620735b4
commit
20fb0f477b
@ -99,9 +99,8 @@ function onLinkContextMenu(ev, params) {
|
||||
}
|
||||
}
|
||||
|
||||
// XXX: We cannot easily save a blob from the main process as only the renderer can resolve them so don't give
|
||||
// the user an option to. One possible workaround was using copyImageAt but there was no way of knowing when
|
||||
// the image would be in the clipboard, it depended on its size.
|
||||
// XXX: We cannot easily save a blob from the main process as
|
||||
// only the renderer can resolve them so don't give the user an option to.
|
||||
if (params.hasImageContents && !url.startsWith('blob:')) {
|
||||
popupMenu.append(new MenuItem({
|
||||
label: 'Sa&ve image as...',
|
||||
|
Loading…
x
Reference in New Issue
Block a user