summaryrefslogtreecommitdiff
path: root/ext/fg/js/source-element.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/source-element.js')
-rw-r--r--ext/fg/js/source-element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/source-element.js b/ext/fg/js/source-element.js
index 3110ed53..d3cc42a1 100644
--- a/ext/fg/js/source-element.js
+++ b/ext/fg/js/source-element.js
@@ -71,6 +71,6 @@ class TextSourceElement {
}
equals(other) {
- return other.element && other.textRaw() == this.textRaw();
+ return other.element && other.textRaw() === this.textRaw();
}
}