diff options
Diffstat (limited to 'devtools/client/shared/components/reps/reps/text-node.js')
-rw-r--r-- | devtools/client/shared/components/reps/reps/text-node.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/shared/components/reps/reps/text-node.js b/devtools/client/shared/components/reps/reps/text-node.js index ae9a7bb109..474e647a9d 100644 --- a/devtools/client/shared/components/reps/reps/text-node.js +++ b/devtools/client/shared/components/reps/reps/text-node.js @@ -123,13 +123,13 @@ define(function (require, exports, module) { }); } - function getTitle(grip) { + function getTitle() { const title = "#text"; return span({}, title); } // Registration - function supportsObject(grip, noGrip = false) { + function supportsObject(grip) { return grip?.preview && grip?.class == "Text"; } |