1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 17:51:24 +02:00

Fix buttons being given incorrect title

This commit is contained in:
Toby Zerner
2016-04-08 13:38:50 +09:30
parent 2a0bca218a
commit 6a0ea61c55
3 changed files with 3 additions and 3 deletions

View File

@@ -17873,7 +17873,7 @@ System.register('flarum/components/Button', ['flarum/Component', 'flarum/helpers
// If nothing else is provided, we use the textual button content as tooltip
if (!attrs.title && this.props.children) {
attrs.title = extractText(attrs.title);
attrs.title = extractText(this.props.children);
}
var iconName = extract(attrs, 'icon');