kas-elvirov / gloc

:calendar: Browser extension: counts lines of code on GitHub

Home Page:https://chrome.google.com/webstore/detail/gloc/kaodcnpebhdbpaeeemkiobcokcnegdki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Badge repeats when going into sub directories

zekroTJA opened this issue · comments

Describe the bug

When going into sub directories in the repository browser on GitHub, the line count badge in the title line repeats as often as deep you go into sub directories.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any GitHub repository
  2. Go into a sub directory in the repository browser

Expected behavior
Guess the badge should only being displayed once, also in sub directories.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Brave (Version 1.19.88 Chromium: 88.0.4324.96 (Official Build) (64-bit))
  • Version 8.2.20

Thank you for this issue @zekroTJA. Thanks a lot for fix, checking. If it's alright i will release it until morning (now 10.28PM in Russia ⭐ )

Works as a charm. Closing. Will release in a few hours. Thank you guyz!!!)