Skip to content

Commit

Permalink
fix for issue #1314
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallcorner committed Jul 25, 2019
1 parent 11a3b2f commit 1af8cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/popup.js
Expand Up @@ -987,14 +987,15 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
This is pending a better solution for favicons from web extensions */
const assumedUrl = `https://${site.hostname}`;
trElement.innerHTML = escaped`
<img class="icon" src="${assumedUrl}/favicon.ico">
<div></div>
<div title="${site.hostname}" class="truncate-text hostname">
${site.hostname}
</div>
<img
class="pop-button-image delete-assignment"
src="/img/container-delete.svg"
/>`;
trElement.querySelector("div").appendChild(Utils.createFavIconElement(assumedUrl));
const deleteButton = trElement.querySelector(".delete-assignment");
const that = this;
Logic.addEnterHandler(deleteButton, async () => {
Expand Down

0 comments on commit 1af8cf8

Please sign in to comment.