From 86fa7982f4803c412a660265ff6750f7895e7b7f Mon Sep 17 00:00:00 2001 From: 2hwk Date: Sun, 8 Jan 2023 10:10:29 +0800 Subject: [PATCH] fix: lint --- .../html_ui/Pages/A32NX_Utils/bitFlags.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Utils/bitFlags.js b/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Utils/bitFlags.js index 65172a444db..aa54454fd3e 100644 --- a/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Utils/bitFlags.js +++ b/flybywire-aircraft-a320-neo/html_ui/Pages/A32NX_Utils/bitFlags.js @@ -107,12 +107,16 @@ class SeatFlags extends BitFlags { } isSeatFilled(seatId) { - if (seatId > this.totalSeats) { return false; } + if (seatId > this.totalSeats) { + return false; + } return this.getBitIndex(seatId); } toggleSeatId(seatId) { - if (seatId > this.totalSeats) { return; } + if (seatId > this.totalSeats) { + return; + } this.toggleBitIndex(seatId); }