From c191ea52765c2515560eee01c62c61485b1ff6af Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 10 Feb 2016 16:42:39 +0100 Subject: upgrade code after js-url upgrade --- js/build/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'js/build/app.js') diff --git a/js/build/app.js b/js/build/app.js index 8c2124c02..1520622d5 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -2133,9 +2133,8 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL) $(document).ready(function () { - var subscription = window.decodeURIComponent(url('?subscribe_to')); - - if (subscription && subscription !== 'null') { + var subscription = url('?subscribe_to'); + if (subscription && subscription !== 'undefined') { $('#new-feed').show(); var input = $('input[ng-model="Navigation.feed.url"]'); @@ -2152,7 +2151,6 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL) })(window, document, navigator, url, $); - /** * Various fixes */ -- cgit v1.2.3