heartranked

git clone https://git.tarina.org/heartranked
Log | Files | Refs | README

commit 9ff3e8ffff8b1199cb7fb5adfba0fb5921771eb5
parent ec4eb56be291946cbe8f27e13a70a3035d6cfd53
Author: rbckman <rob@tarina.org>
Date:   Wed, 26 Aug 2026 08:41:15 +0300

support for zip in the zip'n'ship

Diffstat:
Mhtml/editor.html | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/html/editor.html b/html/editor.html @@ -436,6 +436,7 @@ function isdocs(filename) { const lower = filename.toLowerCase(); return lower.endsWith('.txt') || lower.endsWith('.pdf') || + lower.endsWith('.zip') || lower.endsWith('.md') || lower.endsWith('.readme'); } @@ -459,7 +460,7 @@ function insertAtCursor(text) { + insertlen + lastActiveTextarea.value.substring(end); } - if (isfilm(text)) { + else if (isfilm(text)) { const insertlen = "<video controls='controls'><source src=/static/users/$user/films/"+text+"></video>\n"; lastActiveTextarea.value = lastActiveTextarea.value.substring(0, start) + insertlen