File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ <h1>Clippy Lints</h1> {# #}
150150 < h2 class ="panel-title "> {# #}
151151 < div class ="panel-title-name " id ="lint-{{lint.id}} "> {# #}
152152 < span > {{lint.id}}</ span > {#+ #}
153- < a href ="#{{lint.id}} " class ="anchor label label-default " onclick =" openLint(event) " > ¶</ a > {#+ #}
153+ < a href ="#{{lint.id}} " class ="anchor label label-default "> ¶</ a > {#+ #}
154154 < a href ="" class ="anchor label label-default " onclick ="copyToClipboard(event) "> {# #}
155155 📋 {# #}
156156 </ a > {# #}
Original file line number Diff line number Diff line change @@ -151,13 +151,6 @@ function expandLint(lintId) {
151151 highlightIfNeeded ( lintId ) ;
152152}
153153
154- // Show details for one lint
155- function openLint ( event ) {
156- event . preventDefault ( ) ;
157- event . stopPropagation ( ) ;
158- expandLint ( event . target . getAttribute ( "href" ) . slice ( 1 ) ) ;
159- }
160-
161154function copyToClipboard ( event ) {
162155 event . preventDefault ( ) ;
163156 event . stopPropagation ( ) ;
You can’t perform that action at this time.
0 commit comments