Skip to content

Commit 853541e

Browse files
authored
Update filebrowser.js
1 parent 6372b49 commit 853541e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filebrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ function checkBranchMenu(e) {
12381238
addButton.addEventListener('click', () => {
12391239

12401240
// if navigating in repository
1241-
if (!header.classList.includes('out-of-repo')) {
1241+
if (!header.classList.contains('out-of-repo')) {
12421242

12431243
// create new file
12441244
createNewFileInHTML();

0 commit comments

Comments
 (0)