Remove autofocus since it is very mobile unfriendly
This commit is contained in:
parent
928cd034e7
commit
0bd443715a
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<form class="form form-horizontal" ng-submit="sendMessage()">
|
||||
<div class="input-group">
|
||||
<input id="sendMessage" type="text" class="form-control monospace" autocomplete="off" ng-model="command" autofocus>
|
||||
<input id="sendMessage" type="text" class="form-control monospace" autocomplete="off" ng-model="command">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-primary">Send</button>
|
||||
</span>
|
||||
|
|
|
@ -751,9 +751,11 @@ weechat.directive('inputBar', function() {
|
|||
models) {
|
||||
|
||||
// Focuses itself when active buffer is changed
|
||||
/*
|
||||
$rootScope.$on('activeBufferChanged', function() {
|
||||
angular.element('#sendMessage').focus();
|
||||
});
|
||||
*/
|
||||
|
||||
$scope.completeNick = function() {
|
||||
// input DOM node
|
||||
|
|
Loading…
Reference in a new issue