diff --git a/manifest.json b/manifest.json index 1c542c7..75c5e00 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "JDN", "description": "", "devtools_page": "index.html", - "version": "3.0.39", + "version": "3.0.40", "permissions": [ "activeTab", "tabs", diff --git a/package.json b/package.json index e9383ce..15353c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jdi-react-extension", - "version": "3.0.39", + "version": "3.0.40", "description": "jdi react extension", "scripts": { "start": "npm run webpack", diff --git a/src/js/blocks/autoFind/autoFindProvider/pageObject.js b/src/js/blocks/autoFind/autoFindProvider/pageObject.js index 79a6db0..78d5fa4 100644 --- a/src/js/blocks/autoFind/autoFindProvider/pageObject.js +++ b/src/js/blocks/autoFind/autoFindProvider/pageObject.js @@ -32,7 +32,7 @@ export const predictedToConvert = (elements) => { if (elementTagId && uniqueNames.indexOf(elementTagId) >= 0) elementTagId += i; uniqueNames.push(elementTagId, elementName); - let name = customElementName + const name = customElementName ? customElementName : elementTagId ? elementTagId