Skip to content

Commit 393f75f

Browse files
author
Harshit Kedia
committed
date bug fixed
1 parent 7f73cfb commit 393f75f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/scripts/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ function handleEnableChange(){
5858
}
5959
function handleStartingDateChange(){
6060
var value = startingDateElement.value;
61+
console.log("starting date:");
62+
console.log(value);
6163
chrome.storage.local.set({"startingDate": value});
6264
}
6365
function handleEndingDateChange(){

src/scripts/scrumHelper.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ var issue_opened_button="<div style=\"vertical-align:middle;display: inline-bloc
2929
var linkStyle="";
3030
function getChromeData(){
3131
chrome.storage.local.get(["githubUsername","enableToggle","startingDate","endingDate","showOpenLabel","showClosedLabel","lastWeekContribution","userReason","gsoc"],function(items){
32+
if(items.gsoc){//gsoc
33+
gsoc=1;
34+
}
35+
else{
36+
gsoc=0;//codeheat
37+
}
3238
if(items.lastWeekContribution){
3339
lastWeekContribution = true;
3440
handleLastWeekContributionChange();
@@ -64,12 +70,7 @@ function getChromeData(){
6470
if(!items.userReason){
6571
userReason="No Blocker at the moment";
6672
}
67-
if(items.gsoc){//gsoc
68-
gsoc=1;
69-
}
70-
else{
71-
gsoc=0;//codeheat
72-
}
73+
7374
});
7475
}
7576
getChromeData();

0 commit comments

Comments
 (0)