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 a7fb976 commit 8acbde4Copy full SHA for 8acbde4
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -837,7 +837,7 @@ function RemoteFunctions(config) {
837
}
838
839
// Restore original background color
840
- if (event && event.target && event.target.nodeType === Node.ELEMENT_NODE) {
+ if (event && event.target && event.target.nodeType === Node.ELEMENT_NODE && event.target.hasAttribute("data-brackets-id")) {
841
if (event.target._originalBackgroundColor !== undefined) {
842
event.target.style.backgroundColor = event.target._originalBackgroundColor;
843
delete event.target._originalBackgroundColor;
0 commit comments