Accessibility Support Database - Unapproved Prototype + Unapproved Prototype
@@ -71,7 +71,7 @@
    -
  • Development Team: Daniel Pöll (Johannes Kepler University Linz), Wilco Fiers (accessibility.nl), Evangelos Vlachogiannis (Fraunhofer Institute), Bim Egan, Eric Eggert (both W3C WAI), and Shadi Abou-Zahra (Project Lead, W3C WAI).
  • +
  • Development Team: Shadi Abou-Zahra (Project Lead, W3C WAI), Evangelos Vlachogiannis (Fraunhofer Institute), Eric Eggert (W3C WAI), Wilco Fiers (accessibility.nl), Daniel Pöll (Johannes Kepler University Linz), and Bim Egan (W3C WAI).
  • Developed with support from the WAI-ACT project, co-funded by the European Commission IST Programme.
diff --git a/js/router.js b/js/router.js index 092f1f1..fb4bfd6 100644 --- a/js/router.js +++ b/js/router.js @@ -207,8 +207,13 @@ window.accessdb.appRouter.on('route:defaultRoute', function(actions) { window.accessdb.appRouter.loadPage = function(id){ $("article").hide(); this.page = accessdb.config.PAGE_ID_PREFIX + id; - $("#"+accessdb.config.PAGE_ID_PREFIX + id).show(); - var pageheading = $("#" +this.page+" h1"); + $("#"+this.page).show(); + + var pageheading = ""; + if (!(this.page === "axsdb-page-home")) { + pageheading = $("#"+this.page+" h1"); + } + console.log(pageheading); if (pageheading.length) { $("title").text(pageheading.text().trim()) } else { diff --git a/pages/home.html b/pages/home.html index b004f14..f986df2 100644 --- a/pages/home.html +++ b/pages/home.html @@ -1,9 +1,9 @@
-

- Accessibility Support Database +

+ Start Using