Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
set favicon of shot
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Apr 14, 2017
1 parent 82b519e commit 46a0028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/webextension/background/takeshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 46a0028

Please sign in to comment.