Skip to content
Snippets Groups Projects
Unverified Commit fedb1feb authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

Unnecessary parentheses

parent 38667486
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ window.osuny.contentEditor = {
if (draggedKind === 'block') {
// Prevent dragging a block after a heading, instead of inside
return relatedKind !== 'heading' || (!event.willInsertAfter && event.related === firstHeading);
return relatedKind !== 'heading' || !event.willInsertAfter && event.related === firstHeading;
}
return true;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment