File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def get_completion(
5252 ).completion
5353
5454 if completion :
55- # Fetch commit from before 30 days ago and checkout
55+ # Get latest commit date and fetch commit from before 30 days ago and checkout
5656 try :
5757 latest_commit = clone_repo .head .commit .committed_datetime .strftime (
5858 '%Y/%m/%d %T'
Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ main | <a href="metadata.html" target="_self">meta</a>
5959<script >
6060 function updateProgressBarVisibility () {
6161 document .querySelectorAll (' .progress-bar' ).forEach (progressBar => {
62- const textWidth = progressBar .scrollWidth ;
63- const barWidth = progressBar .offsetWidth ;
62+ const barWithOverflowWidth = progressBar .scrollWidth ;
63+ const barWidth = progressBar .clientWidth ;
6464
65- if (barWidth < textWidth ) {
65+ if (barWidth < barWithOverflowWidth ) {
6666 progressBar .classList .add (' low' );
6767 } else {
6868 progressBar .classList .remove (' low' );
You can’t perform that action at this time.
0 commit comments