mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	cosmetic cleanup, mostly in encryption
This commit is contained in:
		| @@ -8,16 +8,16 @@ function syncNow() { | ||||
|             if (result.success) { | ||||
|                 status.checkStatus(); | ||||
|  | ||||
|                 message("Sync finished successfully."); | ||||
|                 showMessage("Sync finished successfully."); | ||||
|             } | ||||
|             else { | ||||
|                 if (result.message.length > 50) { | ||||
|                     result.message = result.message.substr(0, 50); | ||||
|                 } | ||||
|  | ||||
|                 error("Sync failed: " + result.message); | ||||
|                 showError("Sync failed: " + result.message); | ||||
|             } | ||||
|         }, | ||||
|         error: () => error("Sync failed for unknown reason.") | ||||
|         error: () => showError("Sync failed for unknown reason.") | ||||
|     }); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user