From 567597ff21ba6304f22bf02a5b178a5bbaf0adb3 Mon Sep 17 00:00:00 2001 From: Benjamin Knight Date: Mon, 15 Feb 2016 18:37:15 -0800 Subject: [PATCH] Update setAttribute value to string to fix Typekit/Safari bug. Fixes #75 --- lib/components/Tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/Tab.js b/lib/components/Tab.js index 51090143ed..2fdf59cb5e 100644 --- a/lib/components/Tab.js +++ b/lib/components/Tab.js @@ -4,7 +4,7 @@ import cx from 'classnames'; function syncNodeAttributes(node, props) { if (props.selected) { - node.setAttribute('tabindex', 0); + node.setAttribute('tabindex', '0'); node.setAttribute('selected', 'selected'); if (props.focus) { node.focus();