Fix: hopefully the reloading bug on onReturn now fixed
This commit is contained in:
parent
018391f733
commit
c419b3ae2e
|
@ -147,6 +147,7 @@ overlord_directive.directive('onReturn', ['$parse', function ($parse) {
|
||||||
scope.$apply(function () {
|
scope.$apply(function () {
|
||||||
fn(scope, {$event: event});
|
fn(scope, {$event: event});
|
||||||
});
|
});
|
||||||
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue