Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -39,8 +39,8 @@ function callback(mutationList, observer) { | @@ -39,8 +39,8 @@ function callback(mutationList, observer) { | ||
| 39 | const nodes = mutation.addedNodes; | 39 | const nodes = mutation.addedNodes; |
| 40 | nodes.forEach((node) => { | 40 | nodes.forEach((node) => { |
| 41 | if ( | 41 | if ( |
| 42 | - (node.innerText = | ||
| 43 | - "Disconnected from the devServer, trying to reconnect...") | 42 | + node.innerText === |
| 43 | + "Disconnected from the devServer, trying to reconnect..." | ||
| 44 | ) { | 44 | ) { |
| 45 | node.parentNode.removeChild(node); | 45 | node.parentNode.removeChild(node); |
| 46 | } | 46 | } |