fix $apply exception on showSidebar
This commit is contained in:
parent
0b481cce3d
commit
4e2a5dbe88
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
if (utils.isMobileUi()) {
|
||||
// de-focus the input bar when opening the sidebar on mobile, so that the keyboard goes down
|
||||
_.each(document.getElementsByTagName('textarea'), function(elem) {
|
||||
elem.blur();
|
||||
$timeout(function(){elem.blur();});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue