Fix latest posts and tags on the welcome screen
[blerg.git] / www / jssrc / blerg / Link.js
index bb2d8d3..b2468bf 100644 (file)
@@ -2,12 +2,17 @@ enyo.kind({
        name: "blerg.Link",
        kind: "Control",
        tag: "a",
-       href: "#",
+       published: {
+               href: "#",
+       },
        handlers: {
                onclick: "muteLink",
        },
        create: function() {
                this.inherited(arguments);
+               this.hrefChanged();
+       },
+       hrefChanged: function() {
                this.setAttribute('href', this.href);
        },
        muteLink: function(inSender, inEvent) {