Properly show update message
This commit is contained in:
@@ -62,6 +62,8 @@ var UpdaterBase = new Class({
|
||||
createMessage: function(data){
|
||||
var self = this;
|
||||
|
||||
if(self.message) return;
|
||||
|
||||
var changelog = 'https://github.com/'+data.repo_name+'/compare/'+data.version.hash+'...'+data.branch;
|
||||
if(data.update_version.changelog)
|
||||
changelog = data.update_version.changelog + '#' + data.version.hash+'...'+data.update_version.hash
|
||||
|
||||
@@ -315,7 +315,7 @@ body > .spinner, .mask{
|
||||
.header .message.update {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
top: -100px;
|
||||
top: -70px;
|
||||
padding: 2px 0;
|
||||
background: #ff6134;
|
||||
font-size: 12px;
|
||||
|
||||
Reference in New Issue
Block a user