We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c07376 commit c269f6fCopy full SHA for c269f6f
js/popup.js
@@ -320,8 +320,10 @@
320
const allSpaceEls = document.querySelectorAll('.space');
321
Array.prototype.forEach.call(allSpaceEls, el => {
322
// eslint-disable-next-line no-param-reassign
323
- el.onclick = () => {
324
- handleSelectAction(el);
+ const existingClickHandler = el.onclick;
+ el.onclick = e => {
325
+ existingClickHandler(e);
326
+ handleSelectAction();
327
};
328
});
329
}
0 commit comments