##// END OF EJS Templates
Added links to reply a post in the thread view. Removed quote paddings in white theme.
neko259 -
r97:d20fe07d default
parent child Browse files
Show More
@@ -203,8 +203,6 b' li {'
203
203
204 .quote {
204 .quote {
205 color: #182F6F;
205 color: #182F6F;
206 padding-left: 5px;
207 border-left: solid 2px blue;
208 }
206 }
209
207
210 .spoiler {
208 .spoiler {
@@ -68,6 +68,13 b' function make_table_dom()'
68 );
68 );
69 }
69 }
70
70
71 function addQuickReply(postId) {
72 var textToAdd = '>>' + postId + '\n\n';
73 $('#id_text').val($('#id_text').val()+ textToAdd);
74
75 $("html, body").animate({ scrollTop: $('#id_text').offset().top }, "slow");
76 }
77
71 $(document).ready(function(){
78 $(document).ready(function(){
72 add_panel('.navigation_panel');
79 add_panel('.navigation_panel');
73 }); No newline at end of file
80 });
@@ -39,6 +39,8 b''
39 {% trans "Get!" %}
39 {% trans "Get!" %}
40 </span>
40 </span>
41 {% endif %}
41 {% endif %}
42 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
43 ; return false;">&gt;&gt;</a>]
42 </div>
44 </div>
43 {% autoescape off %}
45 {% autoescape off %}
44 {{ post.text.rendered }}
46 {{ post.text.rendered }}
General Comments 0
You need to be logged in to leave comments. Login now