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 3dd4302 commit 02716b7Copy full SHA for 02716b7
src/content_scripts/common/hints.js
@@ -436,7 +436,13 @@ div.hint-scrollable {
436
_onHintKey(elm);
437
}
438
} else {
439
- dispatchSKEvent('user', ["onHintClicked"], elm);
+ if (elm.constructor.name === "Array") {
440
+ // remove Text Node from elm as it cannot be transitted across JS scope
441
+ elm[0] = null;
442
+ dispatchSKEvent('user', ["onHintClicked", elm]);
443
+ } else {
444
+ dispatchSKEvent('user', ["onHintClicked"], elm);
445
+ }
446
447
if (behaviours.multipleHits) {
448
prefix = "";
0 commit comments