Skip to content

Commit

Permalink
Releasing hot-fix because GitLab's code has changed.
Browse files Browse the repository at this point in the history
It's Sunday midnight, so developers will be able to work tomorrow. Major update in progress.
  • Loading branch information
tomasbonco committed Jul 29, 2018
1 parent 2730dc4 commit 7cbb32c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "GitLab - Tree view for code",
"homepage_url": "https://github.com/tomasbonco/gitlabtree",
"author": "Tomáš Bončo",
"version": "0.0.10",
"version": "0.0.11",
"manifest_version": 2,
"description": "Provides folder structure view for code in GitLab.",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion src/inject/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class GitLabTree
*/
obtainMetadata(): IMetadata[]
{
const metadataFiles_v10_3_and_latest: () => HTMLElement[] = () => Array.prototype.slice.call( document.querySelectorAll( '.diff-file-changes .dropdown-content li:not(.hidden)' ));
const metadataFiles_v10_3_and_latest: () => HTMLElement[] = () => Array.prototype.slice.call( document.querySelectorAll( '.diff-file-changes .dropdown-content li:not(.hidden):not(.dropdown-menu-empty-item)' ));
const metadataFiles_v9_5: () => HTMLElement[] = () => Array.prototype.slice.call( document.querySelectorAll( '.file-stats li' ));

const files_latest = metadataFiles_v10_3_and_latest();
Expand Down

0 comments on commit 7cbb32c

Please sign in to comment.