MDL-74802 core: Remove tooltip on the notification close button
Reverting the addition of a Boostrap tooltip on the alert notification's close button. It introduced a bug where the tooltip remains after dismissing the notification alert. We can manually toggle the state of the tooltip via JS, but I don't think it's worth the effort. The tooltip is meant as an added bonus for sighted users to see what the close button is about.
This commit is contained in:
committed by
Sara Arjona
parent
42d214d0cc
commit
2c58871a74
@@ -41,8 +41,7 @@
|
||||
}}>
|
||||
{{{ message }}}
|
||||
{{# closebutton }}{{!
|
||||
}}<button type="button" class="close" data-dismiss="alert"{{!
|
||||
}} title="{{#str}}dismissnotification, core{{/str}}" data-toggle="tooltip">
|
||||
}}<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">{{#str}}dismissnotification, core{{/str}}</span>
|
||||
</button>{{!
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
}}>
|
||||
{{{ message }}}
|
||||
{{# closebutton }}{{!
|
||||
}}<button type="button" class="close" data-dismiss="alert"{{!
|
||||
}} title="{{#str}}dismissnotification, core{{/str}}" data-toggle="tooltip">
|
||||
}}<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">{{#str}}dismissnotification, core{{/str}}</span>
|
||||
</button>{{!
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
}}>
|
||||
{{{ message }}}
|
||||
{{# closebutton }}{{!
|
||||
}}<button type="button" class="close" data-dismiss="alert"{{!
|
||||
}} title="{{#str}}dismissnotification, core{{/str}}" data-toggle="tooltip">
|
||||
}}<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">{{#str}}dismissnotification, core{{/str}}</span>
|
||||
</button>{{!
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
}}>
|
||||
{{{ message }}}
|
||||
{{# closebutton }}{{!
|
||||
}}<button type="button" class="close" data-dismiss="alert"{{!
|
||||
}} title="{{#str}}dismissnotification, core{{/str}}" data-toggle="tooltip">
|
||||
}}<button type="button" class="close" data-dismiss="alert">
|
||||
<span aria-hidden="true">×</span>
|
||||
<span class="sr-only">{{#str}}dismissnotification, core{{/str}}</span>
|
||||
</button>{{!
|
||||
|
||||
Reference in New Issue
Block a user