File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -275,11 +275,13 @@ document.addEventListener('DOMContentLoaded', function () {
275
275
] , ( items ) => {
276
276
console . log ( 'Restoring state:' , items ) ;
277
277
278
- if ( items . startingDate && items . endingDate && ! items . lastWeekContribution && ! items . yesterdayContribution ) {
278
+
279
+ if ( items . startingDate && items . endingDate && ! items . lastWeekContribution && ! items . yesterdayContribution ) {
279
280
const startDateInput = document . getElementById ( 'startingDate' ) ;
280
281
const endDateInput = document . getElementById ( 'endingDate' ) ;
281
282
282
- if ( startDateInput && endDateInput ) {
283
+ if ( startDateInput && endDateInput ) {
284
+
283
285
startDateInput . value = items . startingDate ;
284
286
endDateInput . value = items . endingDate ;
285
287
startDateInput . readOnly = false ;
@@ -661,3 +663,4 @@ function toggleRadio(radio) {
661
663
} ) ;
662
664
} ) ;
663
665
}
666
+
You can’t perform that action at this time.
0 commit comments