Fixed subtitle selection

This commit is contained in:
Lucien Cartier-Tilet 2020-05-26 02:14:13 +02:00
parent 4ed2d6bdc4
commit b804764e24
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Future<Element> makeHeader() async {
..attributes['heigh'] = '150px'
..attributes['width'] = '150px')
..append(querySelector('h1'));
var subt = querySelector('.subtitle');
final subt = header.querySelector('.subtitle');
if (subt != null) {
header.append(subt);
}