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:
parent
21d5800923
commit
12a510c464
@ -128,11 +128,11 @@ const computeDecorations = (view: EditorView) => {
|
|||||||
// Only block decorations will have differing first and last lines
|
// Only block decorations will have differing first and last lines
|
||||||
if (blockDecorated) {
|
if (blockDecorated) {
|
||||||
// Allow different styles for the first, last lines in a block.
|
// Allow different styles for the first, last lines in a block.
|
||||||
if (viewFrom == node.from) {
|
if (viewFrom === node.from) {
|
||||||
addDecorationToLines(viewFrom, viewFrom, regionStartDecoration);
|
addDecorationToLines(viewFrom, viewFrom, regionStartDecoration);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (viewTo == node.to) {
|
if (viewTo === node.to) {
|
||||||
addDecorationToLines(viewTo, viewTo, regionStopDecoration);
|
addDecorationToLines(viewTo, viewTo, regionStopDecoration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user