Remove boolean comparisons to isMobile

We know this function will *always* return a boolean, so we don't need
to compare it to one.
This commit is contained in:
valadaptive
2023-12-14 18:05:59 -05:00
parent fbdfa05f81
commit 8cfc8ebe66
2 changed files with 3 additions and 3 deletions

View File

@ -1530,7 +1530,7 @@ async function loadCharListState() {
}
function loadMovingUIState() {
if (isMobile() === false
if (!isMobile()
&& power_user.movingUIState
&& power_user.movingUI === true) {
console.debug('loading movingUI state');