diff options
| author | Misko Hevery | 2010-07-27 15:54:50 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-27 15:54:50 -0700 |
| commit | 2a30a02f015dd54846bb62d1f05e82b3cf76ef9f (patch) | |
| tree | 91b380dd30bb1565048e8e644e397b6cca0ccde4 /scenario | |
| parent | 8ddee9bb25ade2bbe7d57db6353b29867606c184 (diff) | |
| download | angular.js-2a30a02f015dd54846bb62d1f05e82b3cf76ef9f.tar.bz2 | |
fix preventDefault for events
Diffstat (limited to 'scenario')
| -rw-r--r-- | scenario/widgets.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scenario/widgets.html b/scenario/widgets.html index 2626843d..d5285ea6 100644 --- a/scenario/widgets.html +++ b/scenario/widgets.html @@ -72,12 +72,12 @@ </tr> <tr><th colspan="3">Buttons</th></tr> <tr> - <td>ng-change<br/>ng:click</td> + <td>ng:change<br/>ng:click</td> <td ng:init="button.count = 0"> <form> - <input type="button" value="button" ng-change="button.count = button.count + 1"/> <br/> - <input type="submit" value="submit" ng-change="button.count = button.count + 1"/><br/> - <input type="image" src="" ng-change="button.count = button.count + 1"/><br/> + <input type="button" value="button" ng:change="button.count = button.count + 1"/> <br/> + <input type="submit" value="submit" ng:change="button.count = button.count + 1"/><br/> + <input type="image" src="" ng:change="button.count = button.count + 1"/><br/> <a href="" ng:click="button.count = button.count + 1">action</a> </form> </td> |
