We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11e2fce commit 841e372Copy full SHA for 841e372
src/static/js/git_form.js
@@ -8,9 +8,16 @@ function changePattern() {
8
9
// Skip the first tree line element
10
treeLineElements.slice(2).forEach((element) => {
11
- element.classList.toggle('line-through');
12
- element.classList.toggle('text-gray-500');
+ element.classList.remove('line-through');
+ element.classList.remove('text-gray-500');
13
});
14
+
15
+ // Reset the pattern input field
16
+ const patternInput = document.getElementById('pattern');
17
18
+ if (patternInput) {
19
+ patternInput.value = '';
20
+ }
21
}
22
23
// Show/hide the Personal-Access-Token section when the "Private repository" checkbox is toggled.
0 commit comments