mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 06:17:03 +01:00
Remove 'whitespaces will be removed' message
This commit is contained in:
parent
5bd05dee63
commit
b5e518fce4
@ -116,7 +116,7 @@ export function initRepoEditor() {
|
||||
if (!warningDiv) {
|
||||
warningDiv = document.createElement('div');
|
||||
warningDiv.classList.add('ui', 'warning', 'message', 'flash-message', 'flash-warning', 'space-related');
|
||||
warningDiv.innerHTML = '<p>Parent directory contains leading or trailing whitespace.</p><p>These whitespaces will be removed.</p>';
|
||||
warningDiv.innerHTML = '<p>Parent directory contains leading or trailing whitespace.</p>';
|
||||
// Add display 'block' because display is set to 'none' in formantic\build\semantic.css
|
||||
warningDiv.style.display = 'block';
|
||||
const inputContainer = document.querySelector('.repo-editor-header');
|
||||
|
Loading…
Reference in New Issue
Block a user