From 2406a4c64c905e33ca150a78bfcb747eea3dadf0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 19 Nov 2014 19:12:12 +0100 Subject: order suggestions by votes, add min height --- js/build/app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'js/build/app.js') 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); -- cgit v1.2.3