From c82d447c68e7d495dd3ef411843c7d7b966da079 Mon Sep 17 00:00:00 2001 From: Travis Kaufman Date: Mon, 30 Jan 2017 18:11:53 -0500 Subject: [PATCH] fix(icon-toggle): Use correct fn signature for rmAttr adapter method (#216) --- packages/mdc-icon-toggle/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mdc-icon-toggle/index.js b/packages/mdc-icon-toggle/index.js index 145aa9a236b..73a4450b7c5 100644 --- a/packages/mdc-icon-toggle/index.js +++ b/packages/mdc-icon-toggle/index.js @@ -77,7 +77,7 @@ export class MDCIconToggle extends MDCComponent { }, getAttr: (name, value) => this.root_.getAttribute(name, value), setAttr: (name, value) => this.root_.setAttribute(name, value), - rmAttr: (name, value) => this.root_.removeAttribute(name, value), + rmAttr: (name) => this.root_.removeAttribute(name), notifyChange: (evtData) => this.emit('MDCIconToggle:change', evtData), }); }