Skip to content

Commit

Permalink
Bugfix for 74365a5 Logic.addEnterHandler -> Utils.addEnterHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
kurahaupo committed Aug 29, 2021
1 parent 9e8a541 commit 5cc5d91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {

// Add new site to current container
const siteLink = document.querySelector("#edit-container-site-link");
Logic.addEnterHandler(siteLink, () => {
Utils.addEnterHandler(siteLink, () => {
this._addSite();
});
},
Expand Down Expand Up @@ -1457,7 +1457,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
trElement.getElementsByClassName("favicon")[0].appendChild(Utils.createFavIconElement(assumedUrl));
const deleteButton = trElement.querySelector(".delete-assignment");
const that = this;
Logic.addEnterHandler(deleteButton, async () => {
Utils.addEnterHandler(deleteButton, async () => {
const userContextId = Logic.currentUserContextId();
// Lets show the message to the current tab
// TODO remove then when firefox supports arrow fn async
Expand Down

0 comments on commit 5cc5d91

Please sign in to comment.