Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
make the widget focus the input box on copying a result to it. This w…
Browse files Browse the repository at this point in the history
…ill make the input resize and set the send-icon, once the RC-side is fixed as well: mrsimpson/Rocket.Chat#62
  • Loading branch information
mrsimpson committed Aug 23, 2017
1 parent 3066b2f commit 9e5e4e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration/rocket-chat/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ function SmartiWidget(element,_options) {
this.post = function(msg) {
console.debug(`write text to element: ${msg}`);
elem.val(msg);
elem.focus();
}
}

Expand Down

0 comments on commit 9e5e4e6

Please sign in to comment.