From 55d399c79f12a9e83b6d98ca2ce6d73eea1a3375 Mon Sep 17 00:00:00 2001 From: Kyle Doherty <kyle.l.doherty@gmail.com> Date: Fri, 11 Sep 2015 13:09:13 -0700 Subject: [PATCH] title attribute for add question. fixes #964 --- .../app/dashboard/components/DashboardHeader.react.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/frontend_client/app/dashboard/components/DashboardHeader.react.js b/resources/frontend_client/app/dashboard/components/DashboardHeader.react.js index 255ccbd4533..1a1a080d30f 100644 --- a/resources/frontend_client/app/dashboard/components/DashboardHeader.react.js +++ b/resources/frontend_client/app/dashboard/components/DashboardHeader.react.js @@ -150,7 +150,11 @@ export default class DashboardHeader extends Component { buttonSections.push([ <ModalWithTrigger ref="addQuestionModal" - triggerElement={<Icon className={cx("text-brand-hover", { "Icon--pulse": isEmpty })} name="add" width="16px" height="16px" />} + triggerElement={ + <a title="Add a question to this dashboard"> + <Icon className={cx("text-brand-hover", { "Icon--pulse": isEmpty })} name="add" width="16px" height="16px" /> + </a> + } > <AddToDashSelectQuestionModal dispatch={this.props.dispatch} -- GitLab