Update Warning message

This commit is contained in:
charles7668 2024-06-30 08:25:53 +08:00
parent 2543f15e30
commit 3cf7472410

View File

@ -109,7 +109,7 @@ export function initRepoEditor() {
if (!warningDiv) { if (!warningDiv) {
warningDiv = document.createElement('div'); warningDiv = document.createElement('div');
warningDiv.classList.add('ui', 'warning', 'message', 'flash-message', 'flash-warning'); 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'); const inputContainer = document.querySelector('.repo-editor-header');
inputContainer.insertAdjacentElement('beforebegin', warningDiv); inputContainer.insertAdjacentElement('beforebegin', warningDiv);
} }