Update update.js
This commit is contained in:
parent
165d7daa0e
commit
ff6192336c
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
function reqData(start) {
|
function reqData(start) {
|
||||||
var donedata = (e) => {
|
var donedata = (e) => {
|
||||||
var resp = e;
|
var resp = e;
|
||||||
|
var prevSha = "A";
|
||||||
|
if (!start) prevSha = window.sessionStorage.getItem("commitsha");
|
||||||
|
|
||||||
if (resp != prevSha) {
|
if (resp != prevSha) {
|
||||||
window.sessionStorage.setItem("commitsha", resp);
|
window.sessionStorage.setItem("commitsha", resp);
|
||||||
|
|
Loading…
Reference in a new issue