mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	make sure all keyboard shortcuts use utility methods to not break mobile frontend
This commit is contained in:
		| @@ -129,7 +129,7 @@ function randomString(len) { | ||||
|     return text; | ||||
| } | ||||
|  | ||||
| function bindShortcut(keyboardShortcut, handler) { | ||||
| function bindGlobalShortcut(keyboardShortcut, handler) { | ||||
|     bindElShortcut($(document), keyboardShortcut, handler); | ||||
| } | ||||
|  | ||||
| @@ -221,7 +221,7 @@ export default { | ||||
|     download, | ||||
|     toObject, | ||||
|     randomString, | ||||
|     bindShortcut, | ||||
|     bindGlobalShortcut, | ||||
|     bindElShortcut, | ||||
|     isMobile, | ||||
|     isDesktop, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user