Merge pull request #5277 from RocketChat/livechat-fix-offline-form-not-opening

Fix livechat offline form not opening
pull/5285/head
Gabriel Engel 9 years ago committed by GitHub
commit f44e9e9a66
  1. 2
      packages/rocketchat-livechat/app/client/views/livechatWindow.js

@ -122,6 +122,8 @@ Template.livechatWindow.onCreated(function() {
});
$(window).on('focus', () => {
if (Livechat.isWidgetOpened()) {
$('textarea').focus();
}
});
});

Loading…
Cancel
Save