tidy comment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-31 12:28:15 +01:00
parent c6620735b4
commit 20fb0f477b

View File

@ -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...',