Fixed subtitle selection
This commit is contained in:
parent
4ed2d6bdc4
commit
b804764e24
@ -13,7 +13,7 @@ Future<Element> makeHeader() async {
|
|||||||
..attributes['heigh'] = '150px'
|
..attributes['heigh'] = '150px'
|
||||||
..attributes['width'] = '150px')
|
..attributes['width'] = '150px')
|
||||||
..append(querySelector('h1'));
|
..append(querySelector('h1'));
|
||||||
var subt = querySelector('.subtitle');
|
final subt = header.querySelector('.subtitle');
|
||||||
if (subt != null) {
|
if (subt != null) {
|
||||||
header.append(subt);
|
header.append(subt);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user