Fixed checkForUpdates and improved version number in login
This commit is contained in:
parent
2ced366b8d
commit
2001f172fa
BIN
dist/main.css
vendored
BIN
dist/main.css
vendored
Binary file not shown.
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -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…
Reference in New Issue
Block a user