diff --git a/brewman/static/scripts/angular_directive.js b/brewman/static/scripts/angular_directive.js index 8cfff70b..662a166a 100644 --- a/brewman/static/scripts/angular_directive.js +++ b/brewman/static/scripts/angular_directive.js @@ -147,6 +147,7 @@ overlord_directive.directive('onReturn', ['$parse', function ($parse) { scope.$apply(function () { fn(scope, {$event: event}); }); + event.preventDefault(); } }); };