Skip to content

Commit b752361

Browse files
committed
Update filebrowser.js
1 parent 0f72860 commit b752361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filebrowser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,8 +1790,8 @@ function createNewRepoInHTML() {
17901790
repoEl.querySelector('.name').blur();
17911791
repoEl.querySelector('.name').scrollTo(0, 0);
17921792

1793-
// remove lock button from HTML
1794-
lockButton.remove();
1793+
// disable lock button
1794+
lockButton.style.pointerEvents = 'none';
17951795

17961796

17971797
// validate repo name

0 commit comments

Comments
 (0)