Skip to content

Commit 183a0bf

Browse files
committed
Update codeit-autocomplete.js
1 parent 3962829 commit 183a0bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/plugins/codeit-autocomplete.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ acp.language.js.autocomplete = (query) => {
263263
// split query to get hierarchy
264264
hierarchy = query.split('.');
265265

266+
acp.curr.query = hierarchy[hierarchy.length - 1];
267+
266268

267269
let currObject = acp.language.js.props;
268270

0 commit comments

Comments
 (0)