aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-10-01 08:49:05 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-10-01 08:49:05 +0200
commit8f40afd7932039e4b11ba54e87c982fefe69f06e (patch)
treecba6bb8454e53c2fdfccb58d586c8093e875b3f2 /pyaggr3g470r
parentfix... (diff)
downloadnewspipe-8f40afd7932039e4b11ba54e87c982fefe69f06e.tar.gz
newspipe-8f40afd7932039e4b11ba54e87c982fefe69f06e.tar.bz2
newspipe-8f40afd7932039e4b11ba54e87c982fefe69f06e.zip
fix...
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/layout.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index b12e0276..b9b4a4a0 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -169,13 +169,13 @@ deployed on Heroku or on a traditional server." />
<script src="{{ url_for('.static', filename = 'js/articles.js') }}"></script>
<script type="text/javascript" class="source">
$(document).ready(function() {
- if (window.location.href.indexOf("all") > -1){
+ if (window.location.href.indexOf("filter_=all") > -1){
$("#tab-all").attr('class', "active");
}
- else if (window.location.href.indexOf("unread") > -1) {
+ else if (window.location.href.indexOf("filter_=unread") > -1) {
$("#tab-unread").attr('class', "active");
}
- else if (window.location.href.indexOf("read") > -1) {
+ else if (window.location.href.indexOf("filter_=read") > -1) {
$("#tab-read").attr('class', "active");
}
else {
bgstack15