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/app | |
parent | 794120c0f6cc933e89782262cbb71efd668f8cb8 (diff) |
order suggestions by votes, add min height
Diffstat (limited to 'js/app')
-rw-r--r-- | js/app/Config.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/app/Config.js b/js/app/Config.js index e95cdca5c..76b0bdafb 100644 --- a/js/app/Config.js +++ b/js/app/Config.js @@ -123,9 +123,8 @@ app.config(function ($routeProvider, $provide, $httpProvider) { }); }).then(function (data) { - console.log(data); deferred.resolve(data.data); - }, function () { + }).catch(function () { deferred.reject(); }); |