diff --git a/js/ext/angular/test/input.html b/js/ext/angular/test/input.html index 37b227a5c46..ca1de9f26c8 100644 --- a/js/ext/angular/test/input.html +++ b/js/ext/angular/test/input.html @@ -2,32 +2,95 @@ Checkbox - - - + + -
- + +
- + + Remember me + +
+ + + + + + + +
-
+ diff --git a/js/utils/poly.js b/js/utils/poly.js index 8d0b094afdb..78b291a2906 100644 --- a/js/utils/poly.js +++ b/js/utils/poly.js @@ -46,7 +46,8 @@ ele.dispatchEvent(clickEvent); if(ele.tagName === 'INPUT' || ele.tagName === 'TEXTAREA' || ele.tagName === 'SELECT') { - ele.focus(); + ele.focus(); + e.preventDefault(); } else { ele.blur(); }