aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/login.html6
-rw-r--r--static/ui.js8
2 files changed, 3 insertions, 11 deletions
diff --git a/static/login.html b/static/login.html
index d97c831..ab3e781 100644
--- a/static/login.html
+++ b/static/login.html
@@ -3,11 +3,6 @@
<head>
<title>neko rss mode</title>
<link rel="stylesheet" href="/static/style.css" />
- <script src="/static/jquery.min.js"></script>
- <script src="/static/jquery.tmpl.min.js"></script>
- <script src="/static/underscore.min.js"></script>
- <script src="/static/backbone.min.js"></script>
- <script src="/static/ui.js"></script>
<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="initial-scale=1.0" />
</head>
@@ -19,7 +14,6 @@
<h3>password</h3>
<input type="password" name="password">
-
<input type="submit" name="login">
</form>
diff --git a/static/ui.js b/static/ui.js
index 96e285d..6f44db0 100644
--- a/static/ui.js
+++ b/static/ui.js
@@ -224,9 +224,6 @@ var ItemCollection = Backbone.Collection.extend({
App.loading = true;
url = '/stream/';
- if(App.get('starredFilter')) {
- url = url + 'starred/';
- }
if(App.tag != undefined) {
url = url + 'tag/' + App.tag + '/';
}
@@ -234,11 +231,12 @@ var ItemCollection = Backbone.Collection.extend({
if(App.get('searchFilter')) {
url = url + '&q=' + App.get('searchFilter');
}
-
if(App.get('feedFilter')) {
url = url + '&feed_url=' + App.get('feedFilter').get('url');
}
-
+ if(App.get('starredFilter')) {
+ url = url + '&starred=1';
+ }
if(App.items.last()) {
url = url + '&max_id=' + App.items.last().get('_id');
}