File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ export default class RapiDoc extends LitElement {
98
98
if ( ! this . defaultSchemaTab || ! 'example model' . includes ( this . defaultSchemaTab ) ) { this . defaultSchemaTab = 'model' ; }
99
99
if ( ! this . schemaExpandLevel || this . schemaExpandLevel < 1 ) { this . schemaExpandLevel = 99999 ; }
100
100
if ( ! this . schemaDescriptionExpanded || ! 'true false' . includes ( this . schemaDescriptionExpanded ) ) { this . schemaDescriptionExpanded = 'false' ; }
101
- debugger ;
102
101
if ( ! this . responseAreaHeight ) {
103
102
this . responseAreaHeight = '300px' ;
104
103
}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { callbackTemplate } from '@/templates/expanded-endpoint-template';
7
7
8
8
/* eslint-disable indent */
9
9
function toggleExpand ( path ) {
10
+ window . location . href = `${ window . location . href . split ( '#' ) [ 0 ] } #${ path . method } -${ path . path . replace ( / [ \s # : ? & = ] / g, '-' ) } ` ;
10
11
if ( path . expanded ) {
11
12
path . expanded = false ; // collapse
12
13
} else {
You can’t perform that action at this time.
0 commit comments