File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
lib/rdoc/generator/template/darkfish Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 110110 </ span >
111111 <%- if i == 0 and method . token_stream then -%>
112112 < div class ="method-controls ">
113- < details class ="method-click-advice ">
113+ < details class ="method-source-toggle ">
114114 < summary > Source</ summary >
115115 </ details >
116116 </ div >
127127 < span class ="method-args "> <%= h method . param_seq %> </ span >
128128 <%- if method . token_stream then -%>
129129 < div class ="method-controls ">
130- < details class ="method-click-advice ">
130+ < details class ="method-source-toggle ">
131131 < summary > Source</ summary >
132132 </ details >
133133 </ div >
Original file line number Diff line number Diff line change @@ -626,7 +626,7 @@ main .method-heading :link,
626626main .method-heading : visited {
627627 color : inherit;
628628}
629- main .method-click-advice {
629+ main .method-source-toggle {
630630 position : absolute;
631631 top : 2px ;
632632 right : 0px ;
@@ -743,7 +743,7 @@ main .attribute-access-type {
743743 position : static;
744744 }
745745
746- main .method-click-advice {
746+ main .method-source-toggle {
747747 position : static;
748748 display : inline-block;
749749 }
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function showSource( e ) {
3434} ;
3535
3636function hookSourceViews ( ) {
37- document . querySelectorAll ( '.method-click-advice ' ) . forEach ( function ( codeObject ) {
37+ document . querySelectorAll ( '.method-source-toggle ' ) . forEach ( function ( codeObject ) {
3838 codeObject . addEventListener ( 'click' , showSource ) ;
3939 } ) ;
4040} ;
You can’t perform that action at this time.
0 commit comments