chore: lint
This commit is contained in:
@@ -141,12 +141,12 @@ export const BrowserWindow = () => {
|
|||||||
clickY >= highlightRect.top &&
|
clickY >= highlightRect.top &&
|
||||||
clickY <= highlightRect.bottom
|
clickY <= highlightRect.bottom
|
||||||
) {
|
) {
|
||||||
// Check if the selected element is one of the childSelectors (if applicable)
|
// Check if the selected element is one of the childSelectors (if applicable)
|
||||||
if (highlighterData.childSelectors && highlighterData.childSelectors.length > 0) {
|
if (highlighterData.childSelectors && highlighterData.childSelectors.length > 0) {
|
||||||
if (!highlighterData.childSelectors.includes(highlighterData.selector)) {
|
if (!highlighterData.childSelectors.includes(highlighterData.selector)) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const options = getAttributeOptions(highlighterData.elementInfo?.tagName || '', highlighterData.elementInfo);
|
const options = getAttributeOptions(highlighterData.elementInfo?.tagName || '', highlighterData.elementInfo);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user