diff --git a/beastify/popup/choose_beast.js b/beastify/popup/choose_beast.js index 4c521e9..ca2f08a 100644 --- a/beastify/popup/choose_beast.js +++ b/beastify/popup/choose_beast.js @@ -65,6 +65,10 @@ function listenForClicks() { * Get the active tab, * then call "beastify()" or "reset()" as appropriate. */ + if (e.target.tagName !== "BUTTON" || !e.target.closest("#popup-content")) { + // Ignore when click is not on a button within