diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-10 16:42:39 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-02-10 16:42:39 +0100 |
commit | c191ea52765c2515560eee01c62c61485b1ff6af (patch) | |
tree | a2443605e3a32ec6c981a52cd7cd34878e3085dd /js/build/app.js | |
parent | a08bccacef77a184203d8315817d9bdfe540c947 (diff) |
upgrade code after js-url upgrade
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 6 |
1 files changed, 2 insertions, 4 deletions
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 */ |