mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			255 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			255 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| function message(str) {
 | |
|     const top = $("#top-message");
 | |
| 
 | |
|     top.fadeIn(1500);
 | |
|     top.html(str);
 | |
|     top.fadeOut(1500);
 | |
| }
 | |
| 
 | |
| function error(str) {
 | |
|     const error = $("#error-message");
 | |
| 
 | |
|     error.show();
 | |
|     error.html(str);
 | |
|     error.fadeOut(10000);
 | |
| } |