add PWA detection, remove Android/Safari marginBot

This commit is contained in:
RossAscends
2023-06-06 01:59:39 +09:00
parent 71825691b5
commit 4b3062fa9d
2 changed files with 13 additions and 3 deletions

View File

@ -5134,6 +5134,9 @@ function importCharacter(file) {
});
}
const isPwaMode = window.navigator.standalone;
if (isPwaMode) { $("body").addClass('PWA') }
$(document).ready(function () {
//////////INPUT BAR FOCUS-KEEPING LOGIC/////////////