From 2f10a95fc7c83d00b87a44d1ae446afe0e29d25a Mon Sep 17 00:00:00 2001 From: tinayuangao Date: Sun, 5 Feb 2017 16:29:27 -0800 Subject: [PATCH] fix(radio): change radio button trigger element to input element (#2838) --- 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 4afe48a7358..26a6024a6c9 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 e26d8dc8d50..46fe312952e 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; } }