There was an error while loading. Please reload this page.
1 parent d66cfa8 commit 413f5edCopy full SHA for 413f5ed
src/lib/enhancers/github/GitHubEditEnhancer.tsx
@@ -44,7 +44,7 @@ export class GitHubEditEnhancer implements CommentEnhancer<GitHubEditSpot> {
44
const isInCommentBox = textarea.closest(
45
'[class*="Shared-module__CommentBox"]'
46
)
47
- if (textarea.closest("[role='dialog']") && !isInCommentBox) {
+ if (!isInCommentBox) {
48
const unique_key = `github.com:project-draft:${itemId}:edit-body`
49
logger.debug(
50
`${this.constructor.name} enhanced project draft body textarea`,
0 commit comments