Fixed subtitle selection

This commit is contained in:
phundrak committed 2020-05-26 02:14:13 +02:00
1 parent 4ed2d6bdc4
commit b804764e24
1 file changed
+1 -1
+1 -1
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);
}