Browse Source

fix doSubmitPost() dynamic declaration

master
Simon Grim 9 years ago
parent
commit
21e9db5ea3
  1. 4
      js/interface_common.js

4
js/interface_common.js

@ -1240,7 +1240,7 @@ function postSubmit(e, oldLastPostId) { @@ -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) { @@ -1251,7 +1251,7 @@ function postSubmit(e, oldLastPostId) {
}
}
function doSubmitPost(postText, postData) {
var doSubmitPost = function (postText, postData) {
newPostMsg(postText, postData);
}
}

Loading…
Cancel
Save