Skip to content

Commit 4d4c4d0

Browse files
removed debugger and type fix
1 parent 58f6e78 commit 4d4c4d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rapidoc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ export default class RapiDoc extends LitElement {
600600
}
601601

602602
resetSelectedContentId() {
603-
debugger;
604603
// No content is selected at start
605604
this.selectedContentId = '';
606605
// If there is hash in url then check if hash belong to any of the path in spec
@@ -609,7 +608,7 @@ export default class RapiDoc extends LitElement {
609608
? 'overview' : hasValidPathInUrlHash(this.resolvedSpec.tags)
610609
? window.location.hash.substring(1) : '';
611610
}
612-
// If there is no matching hash to path, check if there is sufficient data to display overview of just display first path from first tag
611+
// If there is no matching hash to path, check if there is sufficient data to display overview otherwise just display first path from first tag
613612
if (!this.selectedContentId) {
614613
if (this.showInfo === 'true' && (this.resolvedSpec.info?.description || this.resolvedSpec.info?.title)) {
615614
this.selectedContentId = 'overview';

0 commit comments

Comments
 (0)