Remove autofocus since it is very mobile unfriendly
This commit is contained in:
parent
928cd034e7
commit
0bd443715a
|
@ -1,6 +1,6 @@
|
||||||
<form class="form form-horizontal" ng-submit="sendMessage()">
|
<form class="form form-horizontal" ng-submit="sendMessage()">
|
||||||
<div class="input-group">
|
<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">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-default btn-primary">Send</button>
|
<button class="btn btn-default btn-primary">Send</button>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -751,9 +751,11 @@ weechat.directive('inputBar', function() {
|
||||||
models) {
|
models) {
|
||||||
|
|
||||||
// Focuses itself when active buffer is changed
|
// Focuses itself when active buffer is changed
|
||||||
|
/*
|
||||||
$rootScope.$on('activeBufferChanged', function() {
|
$rootScope.$on('activeBufferChanged', function() {
|
||||||
angular.element('#sendMessage').focus();
|
angular.element('#sendMessage').focus();
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
$scope.completeNick = function() {
|
$scope.completeNick = function() {
|
||||||
// input DOM node
|
// input DOM node
|
||||||
|
|
Loading…
Reference in New Issue