From 46a002877c615d14128af7fb98d5fedb78e08491 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Thu, 13 Apr 2017 14:34:21 -0700 Subject: [PATCH] set favicon of shot --- addon/webextension/background/takeshot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addon/webextension/background/takeshot.js b/addon/webextension/background/takeshot.js index 3d7c090282..03aecdc675 100644 --- a/addon/webextension/background/takeshot.js +++ b/addon/webextension/background/takeshot.js @@ -10,6 +10,7 @@ this.takeshot = (function () { communication.register("takeShot", catcher.watchFunction((sender, options) => { let { captureType, captureText, scroll, selectedPos, shotId, shot } = options; shot = new Shot(main.getBackend(), shotId, shot); + shot.favicon = sender.tab.favIconUrl; let capturePromise = Promise.resolve(); let openedTab; if (! shot.clipNames().length) {