From 135cd256443c14d6b4def96f665c679b0e9b9295 Mon Sep 17 00:00:00 2001 From: Yuan Gao Date: Thu, 26 Jan 2017 11:28:59 -0800 Subject: [PATCH] Make radio button trigger element to input element --- src/lib/radio/radio.html | 2 +- src/lib/radio/radio.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/radio/radio.html b/src/lib/radio/radio.html index 4afe48a73586..26a6024a6c9b 100644 --- a/src/lib/radio/radio.html +++ b/src/lib/radio/radio.html @@ -6,7 +6,7 @@
diff --git a/src/lib/radio/radio.ts b/src/lib/radio/radio.ts index e26d8dc8d50d..46fe312952e7 100644 --- a/src/lib/radio/radio.ts +++ b/src/lib/radio/radio.ts @@ -500,8 +500,8 @@ export class MdRadioButton implements OnInit { } } - _getHostElement() { - return this._elementRef.nativeElement; + _getInputElement() { + return this._inputElement.nativeElement; } }