Skip to content

Commit 4aca5d2

Browse files
authored
Merge pull request #26313 from github/repo-sync
Repo sync
2 parents d0bfd09 + 3c10168 commit 4aca5d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lib/toggle-annotations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ enum annotationMode {
1212
* @returns The validated mode, or null if leaveNull is true and no valid mode is found.
1313
*/
1414
function validateMode(mode?: string) {
15-
if (mode === annotationMode.Beside || mode === annotationMode.Inline || !mode) return mode
15+
if (mode === annotationMode.Beside || mode === annotationMode.Inline) return mode
1616
// default to Beside
1717
else return annotationMode.Beside
1818
}

0 commit comments

Comments
 (0)