diff --git a/html/js/melpa.js b/html/js/melpa.js index 3a141bb3..f253fd67 100644 --- a/html/js/melpa.js +++ b/html/js/melpa.js @@ -171,11 +171,12 @@ require: "ngModel", scope: { "ngModel": "=", - "debounceModel": "=" + "debounceModel": "=", + "debounceDelay": "@" }, link: function (scope, element, attrs, ngModel) { //jshint unused: false - var delay = 250; + var delay = parseInt(scope.debounceDelay, 10) || 250; var copyValue; scope.$watch(function() { return ngModel.$modelValue; diff --git a/html/partials/list.html b/html/partials/list.html index 3995d6d7..a4fdc1d3 100644 --- a/html/partials/list.html +++ b/html/partials/list.html @@ -4,7 +4,7 @@ ( downloads to date)
-
+