@ -1204,8 +1204,6 @@ function initPullRequestReview() {
return ;
return ;
}
}
$ ( '.diff-detail-box.ui.sticky' ) . sticky ( ) ;
$ ( '.btn-review' ) . on ( 'click' , function ( e ) {
$ ( '.btn-review' ) . on ( 'click' , function ( e ) {
e . preventDefault ( ) ;
e . preventDefault ( ) ;
$ ( this ) . closest ( '.dropdown' ) . find ( '.menu' ) . toggle ( 'visible' ) ;
$ ( this ) . closest ( '.dropdown' ) . find ( '.menu' ) . toggle ( 'visible' ) ;
@ -2042,7 +2040,6 @@ function initCodeView() {
$ . get ( ` ${ $blob . data ( 'url' ) } ? ${ $blob . data ( 'query' ) } &anchor= ${ $blob . data ( 'anchor' ) } ` , ( blob ) => {
$ . get ( ` ${ $blob . data ( 'url' ) } ? ${ $blob . data ( 'query' ) } &anchor= ${ $blob . data ( 'anchor' ) } ` , ( blob ) => {
$row . replaceWith ( blob ) ;
$row . replaceWith ( blob ) ;
$ ( ` [data-anchor=" ${ $blob . data ( 'anchor' ) } "] ` ) . on ( 'click' , ( e ) => { insertBlobExcerpt ( e ) } ) ;
$ ( ` [data-anchor=" ${ $blob . data ( 'anchor' ) } "] ` ) . on ( 'click' , ( e ) => { insertBlobExcerpt ( e ) } ) ;
$ ( '.diff-detail-box.ui.sticky' ) . sticky ( ) ;
} ) ;
} ) ;
}
}
$ ( '.ui.blob-excerpt' ) . on ( 'click' , ( e ) => { insertBlobExcerpt ( e ) } ) ;
$ ( '.ui.blob-excerpt' ) . on ( 'click' , ( e ) => { insertBlobExcerpt ( e ) } ) ;