@@ -427,7 +427,7 @@ def other2(data):
data += ['']
req_list = ''
- main_css_ver = 11
+ main_css_ver = 12
if not 'main_css_load' in flask.session or not 'main_css_ver' in flask.session or flask.session['main_css_ver'] != main_css_ver:
for i_data in os.listdir(os.path.join("views", "main_css", "css")):
@@ -92,7 +92,7 @@ def topic_2(conn, topic_num):
])
conn.commit()
- return redirect('/thread/' + str(topic_num))
+ return redirect('/thread/' + str(topic_num) + '?where=bottom')
else:
data = ''
@@ -1,6 +1,6 @@
{
"master" : {
- "r_ver" : "v3.1.6-master-17",
+ "r_ver" : "v3.1.6-master-18",
"c_ver" : "400009",
"s_ver" : "7"
}, "stable" : {
@@ -31,7 +31,10 @@ function topic_main_load(topic_num, s_num) {
o_data.innerHTML = n_data;
eval(t_plus_data);
-
+ if(window.location.search === "?where=bottom") {
+ document.getElementById(num).focus();
+ }
+
if(!s_num) {
topic_plus_load(topic_num, String(Number(num) + 1));
}