Skip to content

Commit

Permalink
Merge pull request #2058 from thostetler/make-quick-links-add-at-cursor
Browse files Browse the repository at this point in the history
Make landing page links append rather than replace
  • Loading branch information
ehenneken committed Jul 30, 2020
2 parents 2471a68 + 73e295a commit a2d2b38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/widgets/search_bar/search_bar_widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ define([
const value = e.currentTarget.innerText.trim();

if (value) {
this.setFormVal(value);
this.setFormVal(`${this.getFormVal()} ${value}`);
this.$input.focus();
}
});
},
Expand Down

0 comments on commit a2d2b38

Please sign in to comment.