From 4342709c3f1c0340fa2e5b2ea6b178ec6e94eb5e Mon Sep 17 00:00:00 2001 From: Waldek Mastykarz Date: Mon, 5 Dec 2016 14:40:01 +0100 Subject: [PATCH] Fixed bug #74 (#77) --- .../src/webparts/poll/app/poll/vote/VoteController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/angular-multipage/src/webparts/poll/app/poll/vote/VoteController.ts b/samples/angular-multipage/src/webparts/poll/app/poll/vote/VoteController.ts index ede460792..ecd476180 100644 --- a/samples/angular-multipage/src/webparts/poll/app/poll/vote/VoteController.ts +++ b/samples/angular-multipage/src/webparts/poll/app/poll/vote/VoteController.ts @@ -52,7 +52,7 @@ export class VoteController implements IVoteControllerScope { } public vote($event: MouseEvent): void { - event.preventDefault(); + $event.preventDefault(); this.voting = true; this.error = undefined;