diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 19:12:12 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 19:12:12 +0100 |
commit | 2406a4c64c905e33ca150a78bfcb747eea3dadf0 (patch) | |
tree | 536a53c15733adbba3b588d805b9df4e8d54493f /js/build/app.js | |
parent | 794120c0f6cc933e89782262cbb71efd668f8cb8 (diff) |
order suggestions by votes, add min height
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/build/app.js b/js/build/app.js index 0e3606add..79fd09fe7 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -121,9 +121,8 @@ app.config(["$routeProvider", "$provide", "$httpProvider", function ($routeProvi }); }).then(function (data) { - console.log(data); deferred.resolve(data.data); - }, function () { + }).catch(function () { deferred.reject(); }); @@ -422,7 +421,7 @@ app.controller('ExploreController', ["sites", "$rootScope", function (sites, $ro 'use strict'; this.sites = sites; - + console.log(sites); this.subscribeTo = function (url) { $rootScope.$broadcast('addFeed', url); |