mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-08-15 18:45:06 +00:00
Update prettier and reformat source code
This commit is contained in:
@@ -29,7 +29,11 @@ function setupNavigationDrawer() {
|
||||
navopen = false;
|
||||
}
|
||||
document.addEventListener('click', (e) => {
|
||||
if (navopen && !navigation.contains(e.target) && !showbtn.contains(e.target)) {
|
||||
if (
|
||||
navopen &&
|
||||
!navigation.contains(e.target) &&
|
||||
!showbtn.contains(e.target)
|
||||
) {
|
||||
closeNavigation();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user