From 1b61511e8ab76b01de7ac3e8d960f4b2a9970af7 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 12 May 2013 15:59:45 -0400 Subject: [PATCH] fixed tabindex in reply window, wrapping up some minor bugs in editing posts --- public/templates/header.tpl | 8 ++++---- public/templates/topic.tpl | 2 +- src/posts.js | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/public/templates/header.tpl b/public/templates/header.tpl index 5cf86efeec..c69e2eb4c9 100644 --- a/public/templates/header.tpl +++ b/public/templates/header.tpl @@ -50,7 +50,7 @@
- +
@@ -65,12 +65,12 @@
- Submit - Discard + +
- + diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 9882cab6c7..19e445385f 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -214,7 +214,6 @@ // Fix delete state for this thread's posts var postEls = document.querySelectorAll('#post-container li[data-deleted]'); for(var x=0,numPosts=postEls.length;x').appendTo("#post-container").hide().append(html).fadeIn('slow'); set_up_posts(uniqueid); diff --git a/src/posts.js b/src/posts.js index 2dd84fbe85..bc5d531343 100644 --- a/src/posts.js +++ b/src/posts.js @@ -176,7 +176,9 @@ marked.setOptions({ 'gravatar' : data.picture, 'timestamp' : timestamp, 'relativeTime': utils.relativeTime(timestamp), - 'fav_star_class' :'icon-star-empty' + 'fav_star_class' :'icon-star-empty', + 'edited-class': 'none', + 'editor': '', } ] });