Skip to content

Commit

Permalink
Update browserOutput.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Terilia committed Jan 29, 2019
1 parent 56962c0 commit 0d0db48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions goon/browserassets/js/browserOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,10 @@ $(function() {
href: "./browserOutput.css"
});
}
if(savedConfig.backlog != undefined){
$messages.html(savedConfig.backlog)
setCookie('backlog', undefined, 365)
if(localStorage){
var backlog = localStorage.getItem('backlog')
$messages.html(backlog)
localStorage.setItem('backlog', '')
}
(function() {
var dataCookie = getCookie('connData');
Expand Down Expand Up @@ -1038,11 +1039,10 @@ $(function() {
var backlog = $messages.html()
if(getCookie('invert') == "on"){
setCookie('invert', "off", 365)
setCookie('backlog', backlog, 365)
} else {
setCookie('invert', "on", 365)
setCookie('backlog', backlog, 365)
}
localStorage.setItem('backlog', backlog)
location.reload();
});

Expand Down

0 comments on commit 0d0db48

Please sign in to comment.