mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
integrating the new post window into the forum
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
|
||||
var new_post = document.getElementById('new_post');
|
||||
new_post.onclick = function() {
|
||||
app.open_post_window('topic', cid);
|
||||
require(['composer'], function(cmp) {
|
||||
cmp.push(0, cid);
|
||||
});
|
||||
}
|
||||
|
||||
ajaxify.register_events([
|
||||
|
||||
Reference in New Issue
Block a user