diff src/thread.html.luan @ 60:8b5b1bce7d6b

bcode menus
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Nov 2022 23:50:52 -0700
parents 9f8ebc757814
children
line wrap: on
line diff
--- a/src/thread.html.luan	Tue Nov 29 18:45:22 2022 -0700
+++ b/src/thread.html.luan	Wed Nov 30 23:50:52 2022 -0700
@@ -179,9 +179,9 @@
 		<span hidden undelete><%delete_post()%></span>
 	</body>
 	<script>
-		bbcodeCreate('div[post="new"] div[editor]',{
-			save: newPost
-		});
+		bbcodeCreate('div[post="new"] div[editor]',{buttons:{
+			Save: newPost
+		}});
 	</script>
 </html>
 <%