diff --git a/js/controllers/website-controller.js b/js/controllers/website-controller.js index 9961caf..74cd889 100644 --- a/js/controllers/website-controller.js +++ b/js/controllers/website-controller.js @@ -254,16 +254,17 @@ app.controller('websiteCtrl', [ vm.listSites(); + $scope.domain = [ - { domainName: "jon.lambson.daplie.com" }, - { domainName: "music.daplie.me" }, - { domainName: "jon.daplie.me" } + { domain: "jon.lambson.daplie.com" }, + { domain: "music.daplie.me" }, + { domain: "jon.daplie.me" } ]; $scope.localDomainSearch = function(str, domain) { var matches = []; domain.forEach(function(domain) { - if ((domain.domainName.toLowerCase().indexOf(str.toString().toLowerCase()) >= 0)) { + if ((domain.domain.toLowerCase().indexOf(str.toString().toLowerCase()) >= 0)) { matches.push(domain); } }); diff --git a/templates/website.html b/templates/website.html index f5168ce..53e0de0 100644 --- a/templates/website.html +++ b/templates/website.html @@ -76,18 +76,14 @@ - - - - -
-
+
+