mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	mobile frontend WIP, removing extra dependencies
This commit is contained in:
		| @@ -143,6 +143,14 @@ function bindShortcut(keyboardShortcut, handler) { | ||||
|     }); | ||||
| } | ||||
|  | ||||
| function isMobile() { | ||||
|     return window.device === "mobile"; | ||||
| } | ||||
|  | ||||
| function isDesktop() { | ||||
|     return window.device === "desktop"; | ||||
| } | ||||
|  | ||||
| export default { | ||||
|     reloadApp, | ||||
|     parseDate, | ||||
| @@ -166,5 +174,7 @@ export default { | ||||
|     download, | ||||
|     toObject, | ||||
|     randomString, | ||||
|     bindShortcut | ||||
|     bindShortcut, | ||||
|     isMobile, | ||||
|     isDesktop | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user