mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +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')) {
|
||||
function doSubmitPost(postText, postData) {
|
||||
var doSubmitPost = function (postText, postData) {
|
||||
newRtMsg(postData, postText);
|
||||
}
|
||||
} else {
|
||||
@ -1251,7 +1251,7 @@ function postSubmit(e, oldLastPostId) {
|
||||
}
|
||||
}
|
||||
|
||||
function doSubmitPost(postText, postData) {
|
||||
var doSubmitPost = function (postText, postData) {
|
||||
newPostMsg(postText, postData);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user