Permalink
Browse files

bug: h1 -> h5 in main.dart - faild to generate drawer

  • Loading branch information...
MikeMitterer committed Mar 13, 2015
1 parent 5fb6324 commit b0ae4ba8664074703b79e81b14c3da70641cb3a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 example/styleguide/web/main.dart
@@ -66,7 +66,7 @@ void loadDemos() {
_setLoaderInfo(totalDemosPendingLoading);
for (int i = 0;i < demos.length;i++) {
new Future.delayed(new Duration(milliseconds: 200),() {
- final String demoTitle = (demos[i].querySelector('h1') as html.HtmlElement).text ;
+ final String demoTitle = (demos[i].querySelector('h5') as html.HtmlElement).text ;
final String anchorLink = 'demo-$i';
// Add list item
@@ -86,7 +86,7 @@ void loadDemos() {
final html.AnchorElement anchor = new html.AnchorElement();
anchor.id = anchorLink;
- demos[i].insertBefore(anchor, demos[i].querySelector('h1'));
+ demos[i].insertBefore(anchor, demos[i].querySelector('h5'));
// Size iframe
_sizeDemo(demos[i]);

0 comments on commit b0ae4ba

Please sign in to comment.