diff options
| author | Bobby <[email protected]> | 2025-07-16 20:07:20 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-07-16 20:07:20 +0530 |
| commit | 2255bbed94e1459788203a92b5f0eec5370abcab (patch) | |
| tree | 36ec94fb7370235ca3f7e22f892a191b82650d47 /static/scripts/preferences.js | |
| parent | bb54eaf6623acdcfb2e9056eb803260dff2150a5 (diff) | |
| download | imageboard-2255bbed94e1459788203a92b5f0eec5370abcab.tar.xz imageboard-2255bbed94e1459788203a92b5f0eec5370abcab.zip | |
upload ui for images; registered users can upload
Diffstat (limited to 'static/scripts/preferences.js')
| -rw-r--r-- | static/scripts/preferences.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/static/scripts/preferences.js b/static/scripts/preferences.js index 61db579..66a7bb7 100644 --- a/static/scripts/preferences.js +++ b/static/scripts/preferences.js @@ -8,18 +8,6 @@ function validateCSSFontSize(value) { return validFontSizePattern.test(value); } -function showError(message) { - const errorMessage = document.getElementById('error-message'); - errorMessage.textContent = message; - errorMessage.style.display = 'block'; -} - -function hideError() { - const errorMessage = document.getElementById('error-message'); - errorMessage.textContent = ''; - errorMessage.style.display = 'none'; -} - function setPreferences() { const preferences = { sidebar_width: document.getElementById('sidebar-width').value, |
