diff options
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/widgets.js b/src/widgets.js index 34cc258a..4d8c71d5 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -203,10 +203,6 @@ function inputWidget(events, modelAccessor, viewAccessor, initFn) { lastValue = model.get(); scope.$tryEval(action, element); scope.$root.$eval(); - // if we have noop initFn than we are just a button, - // therefore we want to prevent default action - if(initFn == noop) - event.preventDefault(); }); } function updateView(){ |
