Fixed checkForUpdates and improved version number in login

pull/331/head
Tobias Reich 9 years ago
parent 2ced366b8d
commit 2001f172fa

2
dist/main.css vendored

File diff suppressed because one or more lines are too long

10
dist/main.js vendored

File diff suppressed because one or more lines are too long

@ -17,7 +17,7 @@ lychee = {
viewMode: false,
debugMode: false,
checkForUpdates:false,
checkForUpdates:'1',
username: '',
sorting: '',
location: '',
@ -54,15 +54,17 @@ lychee.init = function() {
lychee.sorting = data.config.sorting || '';
lychee.dropboxKey = data.config.dropboxKey || '';
lychee.location = data.config.location || '';
lychee.checkForUpdates = data.config.checkForUpdates || true;
lychee.checkForUpdates = data.config.checkForUpdates || '1';
// No username and password
// Show dialog when there is no username and password
if (data.config.login===false) settings.createLogin();
} else if (data.status===1) {
// Logged out
lychee.checkForUpdates = data.config.checkForUpdates || '1';
lychee.setMode('public');
} else if (data.status===0) {

@ -174,14 +174,15 @@
/* Version ------------------------------------------------*/
.version {
padding: 0px 30px 20px;
color: #888;
margin: -5px 0 0;
padding: 0 30px 30px !important;
color: white(.3);
font-size: 12px;
text-align: left;
text-align: right;
span { display: none; }
span a { color: #888; }
span a { color: white(.3); }
}
/* Title ------------------------------------------------*/

Loading…
Cancel
Save