mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-27 23:24:26 +00:00
fix doSubmitPost() dynamic declaration
This commit is contained in:
parent
f251cf0949
commit
21e9db5ea3
@ -1240,7 +1240,7 @@ function postSubmit(e, oldLastPostId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (btnPostSubmit.hasClass('with-reference')) {
|
if (btnPostSubmit.hasClass('with-reference')) {
|
||||||
function doSubmitPost(postText, postData) {
|
var doSubmitPost = function (postText, postData) {
|
||||||
newRtMsg(postData, postText);
|
newRtMsg(postData, postText);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -1251,7 +1251,7 @@ function postSubmit(e, oldLastPostId) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function doSubmitPost(postText, postData) {
|
var doSubmitPost = function (postText, postData) {
|
||||||
newPostMsg(postText, postData);
|
newPostMsg(postText, postData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user