File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -552,8 +552,6 @@ export function initRepoIssueReferenceIssue() {
552
552
// Reference issue
553
553
$ ( document ) . on ( 'click' , '.reference-issue' , function ( event ) {
554
554
const $this = $ ( this ) ;
555
- $this . closest ( '.dropdown' ) . find ( '.menu' ) . toggle ( 'visible' ) ; // eslint-disable-line
556
-
557
555
const content = $ ( `#${ $this . data ( 'target' ) } ` ) . text ( ) ;
558
556
const poster = $this . data ( 'poster-username' ) ;
559
557
const reference = $this . data ( 'reference' ) ;
Original file line number Diff line number Diff line change @@ -291,7 +291,6 @@ export function initRepoCommentForm() {
291
291
async function onEditContent ( event ) {
292
292
event . preventDefault ( ) ;
293
293
294
- $ ( this ) . closest ( '.dropdown' ) . find ( '.menu' ) . toggle ( 'visible' ) ; // eslint-disable-line
295
294
const $segment = $ ( this ) . closest ( '.header' ) . next ( ) ;
296
295
const $editContentZone = $segment . find ( '.edit-content-zone' ) ;
297
296
const $renderContent = $segment . find ( '.render-content' ) ;
@@ -584,7 +583,6 @@ function initRepoIssueCommentEdit() {
584
583
585
584
// Quote reply
586
585
$ ( document ) . on ( 'click' , '.quote-reply' , function ( event ) {
587
- $ ( this ) . closest ( '.dropdown' ) . find ( '.menu' ) . toggle ( 'visible' ) ; // eslint-disable-line
588
586
const target = $ ( this ) . data ( 'target' ) ;
589
587
const quote = $ ( `#${ target } ` ) . text ( ) . replace ( / \n / g, '\n> ' ) ;
590
588
const content = `> ${ quote } \n\n` ;
You can’t perform that action at this time.
0 commit comments