Make Account Center only usable when logged in
[blerg.git] / www / jssrc / blerg / Title.js
index 17d62a2..27356d8 100644 (file)
@@ -9,7 +9,7 @@ enyo.kind({
         onSetTitle: "setTitle"
     },
     components: [
-        {kind: "Image", classes: "logo", src: "images/blerglogo.png", attributes: {width: 125, height: 122}},
+        {kind: "Image", classes: "logo", src: "/images/blerglogo.png", attributes: {width: 125, height: 122}},
         {tag: "h1", components: [
             {kind: "blerg.Link", href: "/#/", content: "BlĂ«rg!"}
         ]},
@@ -19,6 +19,7 @@ enyo.kind({
     ],
     create: function() {
         this.inherited(arguments);
+        this.sectionChanged();
     },
     sectionChanged: function() {
         this.$.section.setContent(this.section);