|
|
@ -14,7 +14,7 @@ weechat.directive('inputBar', function() { |
|
|
|
command: '=command' |
|
|
|
command: '=command' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
controller: ['$rootScope', '$scope', '$element', '$log', 'connection', 'imgur', 'models', 'IrcUtils', 'settings', function($rootScope, |
|
|
|
controller: ['$rootScope', '$scope', '$element', '$log', 'connection', 'imgur', 'models', 'IrcUtils', 'settings', 'utils', function($rootScope, |
|
|
|
$scope, |
|
|
|
$scope, |
|
|
|
$element, //XXX do we need this? don't seem to be using it
|
|
|
|
$element, //XXX do we need this? don't seem to be using it
|
|
|
|
$log, |
|
|
|
$log, |
|
|
@ -22,7 +22,8 @@ weechat.directive('inputBar', function() { |
|
|
|
imgur, |
|
|
|
imgur, |
|
|
|
models, |
|
|
|
models, |
|
|
|
IrcUtils, |
|
|
|
IrcUtils, |
|
|
|
settings) { |
|
|
|
settings, |
|
|
|
|
|
|
|
utils) { |
|
|
|
|
|
|
|
|
|
|
|
// E.g. Turn :smile: into the unicode equivalent
|
|
|
|
// E.g. Turn :smile: into the unicode equivalent
|
|
|
|
$scope.inputChanged = function() { |
|
|
|
$scope.inputChanged = function() { |
|
|
@ -503,6 +504,10 @@ weechat.directive('inputBar', function() { |
|
|
|
$scope.completeNick(); |
|
|
|
$scope.completeNick(); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.hideCompleteNickButton = function() { |
|
|
|
|
|
|
|
return !utils.isMobileUi(); |
|
|
|
|
|
|
|
}; |
|
|
|
}] |
|
|
|
}] |
|
|
|
}; |
|
|
|
}; |
|
|
|
}); |
|
|
|
}); |
|
|
|