mirror of
https://github.com/go-gitea/gitea
synced 2024-09-01 03:56:10 +02:00
Update Warning message
This commit is contained in:
parent
2543f15e30
commit
3cf7472410
@ -109,7 +109,7 @@ export function initRepoEditor() {
|
||||
if (!warningDiv) {
|
||||
warningDiv = document.createElement('div');
|
||||
warningDiv.classList.add('ui', 'warning', 'message', 'flash-message', 'flash-warning');
|
||||
warningDiv.innerHTML = '<p>Parent directory contains leading or trailing whitespace.</p>';
|
||||
warningDiv.innerHTML = '<p>Parent directory contains leading or trailing whitespace.</p><p>These whitespaces will be removed.</p>';
|
||||
const inputContainer = document.querySelector('.repo-editor-header');
|
||||
inputContainer.insertAdjacentElement('beforebegin', warningDiv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user