mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-08 01:45:08 +00:00
(js) Cleanup sg-search directive
This commit is contained in:
@@ -100,10 +100,7 @@
|
||||
*/
|
||||
sgSearchController.$inject = ['$window', '$scope', '$element'];
|
||||
function sgSearchController($window, $scope, $element) {
|
||||
var vm = this, minLength;
|
||||
|
||||
// Domain's defaults
|
||||
minLength = angular.isNumber($window.minimumSearchLength)? $window.minimumSearchLength : 2;
|
||||
var vm = this;
|
||||
|
||||
// Controller variables
|
||||
vm.searchText = null;
|
||||
|
||||
Reference in New Issue
Block a user