Skip to content

Commit 2ed123d

Browse files
committed
feat: dont show edit text button for disabled elements as edit text wont work on that
1 parent c5c1a28 commit 2ed123d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,6 +1700,10 @@ function RemoteFunctions(config = {}) {
17001700
return false;
17011701
}
17021702

1703+
if (element.hasAttribute('disabled')) {
1704+
return false;
1705+
}
1706+
17031707
const tagName = element.tagName.toLowerCase();
17041708

17051709
// these are self-closing tags and don't allow any text content

0 commit comments

Comments
 (0)