From 40d78413cf688d50c8e6d823b6d9e0fbe2303551 Mon Sep 17 00:00:00 2001 From: 2hwk Date: Sun, 8 Jan 2023 09:19:47 +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 65172a444dbe..aa54454fd3ec 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); }