From 9c0225512c63ebfc37e6408cc155d9da1fe682c9 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 26 Oct 2010 15:35:58 -0700 Subject: fixes IE related failures, and form submit event handling in ie --- src/widgets.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/widgets.js') 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(){ -- cgit v1.2.3