1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Chore: Fix CI: Use strict equality (#6702)

This commit is contained in:
Henry Heino 2022-07-29 01:38:44 -07:00 committed by GitHub
parent 21d5800923
commit 12a510c464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,11 +128,11 @@ const computeDecorations = (view: EditorView) => {
// Only block decorations will have differing first and last lines
if (blockDecorated) {
// Allow different styles for the first, last lines in a block.
if (viewFrom == node.from) {
if (viewFrom === node.from) {
addDecorationToLines(viewFrom, viewFrom, regionStartDecoration);
}
if (viewTo == node.to) {
if (viewTo === node.to) {
addDecorationToLines(viewTo, viewTo, regionStopDecoration);
}
}