summaryrefslogtreecommitdiffstats
path: root/js/build/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/build/app.js')
-rw-r--r--js/build/app.js6
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
*/