diff options
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r-- | web_src/js/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js index 128779c153..c84a2c8991 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1127,6 +1127,14 @@ function initRepository() { } }); } + + // Language stats + if ($('.language-stats').length > 0) { + $('.language-stats').on('click', (e) => { + e.preventDefault(); + $('.language-stats-details, .repository-menu').slideToggle(); + }); + } } function initMigration() { |