mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	correct tabindex so that tab from note title jumps to note content
This commit is contained in:
		
							parent
							
								
									4a5d29b83d
								
							
						
					
					
						commit
						1b3a113639
					
				| @ -27,7 +27,7 @@ | |||||||
|         </div> |         </div> | ||||||
| 
 | 
 | ||||||
|         <div style="float: left; margin: 0 5px 5px 5px;" class="hide-toggle"> |         <div style="float: left; margin: 0 5px 5px 5px;" class="hide-toggle"> | ||||||
|           <input type="text" autocomplete="off" value="Welcome to Notecase web app!" id="noteTitle" style="font-size: x-large; border: 0; width: 600px;"> |           <input autocomplete="off" value="Welcome to Notecase web app!" id="noteTitle" style="font-size: x-large; border: 0; width: 600px;" tabindex="1"> | ||||||
| 
 | 
 | ||||||
|           <button class="btn btn-sm" onclick="encryptNote();">Encrypt</button> |           <button class="btn btn-sm" onclick="encryptNote();">Encrypt</button> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -76,6 +76,9 @@ $(document).ready(function() { | |||||||
|             onChange: noteChanged |             onChange: noteChanged | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | 
 | ||||||
|  |     // so that tab jumps from note title (which has tabindex 1)
 | ||||||
|  |     $(".note-editable").attr("tabindex", 2); | ||||||
| }); | }); | ||||||
|    |    | ||||||
| var globalNote; | var globalNote; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner