fixed css a bit and logout

This commit is contained in:
Jeena 2014-02-21 11:15:21 +01:00
parent 69c5c270ad
commit 92ad94c1d8
3 changed files with 6 additions and 3 deletions

View file

@ -291,12 +291,14 @@ canvas {
#full .article { #full .article {
clear: both; clear: both;
padding-top: 1em; padding-top: 1em;
padding-bottom: 2.8em;
font-size: 1.3em; font-size: 1.3em;
} }
#full footer.bar { #full footer.bar {
bottom: 0;
margin: auto 0 0 0; margin: auto 0 0 0;
position: relative; position: fixed;
height: 3.8em; height: 3.8em;
} }

View file

@ -14,11 +14,12 @@ App.prototype.authenticate = function() {
}; };
App.prototype.after_login = function(backend) { App.prototype.after_login = function(backend) {
/*
var request = window.navigator.mozApps.getSelf(); var request = window.navigator.mozApps.getSelf();
request.onsuccess = function() { request.onsuccess = function() {
$("#version").innerHTML = request.result.manifest.version; $("#version").innerHTML = request.result.manifest.version;
} }
*/
var _this = this; var _this = this;

View file

@ -195,7 +195,7 @@ Pond.prototype.setArticleUnstarred = function(articles, callback) {
} }
Pond.prototype.logOut = function() { Pond.prototype.logOut = function() {
this.doOperation("auth/sessions/" + this.session_token ); this.doOperation("DELETE", "auth/sessions/" + this.session_token );
localStorage.feeds = null; localStorage.feeds = null;
} }