Skip to content

Commit

Permalink
Fixes issue 'Too long title in header'
Browse files Browse the repository at this point in the history
See also gwtproject/gwt-site#113

Change-Id: I120b902ad82f9773453f65c7f41436e8084745e3
  • Loading branch information
TDesjardins committed May 1, 2020
1 parent 384218d commit 912e5ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public boolean f(Element e, int index) {
liParents.add(selectedItem).not(selectedItem.parent()).addClass("active");

// Change the page title for easy bookmarking
$("title").text("[GWT] " + subMenuItem.text());
$("title").text("[GWT] " + subMenuItem.children("a").text() + " - " + selectedItem.text());

boolean homePage = isHomePage(path);
boolean overviewPage = isOverviewPage(path);
Expand Down

0 comments on commit 912e5ae

Please sign in to comment.