Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix(webview): outdated comment
- Loading branch information
1 parent
27431c1
commit a86f0f9
Showing
2 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
src/Electron/Component/WebViewComponentInjection/always-open-outdated.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
(function(){ | ||
const containers = document.querySelectorAll('.outdated-comment, .outdated-diff-comment-container'); | ||
for (const container of Array.from(containers)) { | ||
container.classList.add('open'); | ||
container.setAttribute('open', true); | ||
container.classList.add('open'); // for old style(GHE ~2018.08) | ||
} | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters