1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 15:05:26 +02:00

linter fix

This commit is contained in:
Murod Khaydarov 2019-01-19 17:08:05 +03:00
parent 8e5148f7cf
commit 3b2daca652
No known key found for this signature in database
GPG key ID: C480BA53A8D274C5

View file

@ -108,7 +108,7 @@ class PageOrder {
const found2 = this.order.indexOf(currentPageId);
if (found1 === -1 || found2 === -1) {
return
return;
}
const margin = found1 < found2 ? 1 : 0;