mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-03 17:08:47 +01:00 
			
		
		
		
	Fix tooltip inner selecter
This commit is contained in:
		@@ -223,7 +223,7 @@ function autoCompleteNote(field_id, note_list_id, notes, notes_display, alias_pr
 | 
			
		||||
    // When the user type "Enter", the first alias is clicked
 | 
			
		||||
    field.keypress(function (event) {
 | 
			
		||||
        if (event.originalEvent.charCode === 13 && notes.length > 0) {
 | 
			
		||||
            let li_obj = $(".tooltip-inner ul li").first();
 | 
			
		||||
            let li_obj = field.parent().find("ul li").first();
 | 
			
		||||
            displayNote(notes[0], li_obj.text(), user_note_field, profile_pic_field);
 | 
			
		||||
            li_obj.trigger("click");
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user