mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
add basic support for mobile mode
This commit is contained in:
@@ -74,6 +74,6 @@ export const makeEnvironment = memoize(function(): Env {
|
||||
|
||||
rpc: ajax.rpc,
|
||||
debug: false,
|
||||
isMobile: false
|
||||
isMobile: window.innerWidth <= 768
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user