mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
jquery best
This commit is contained in:
@@ -27,8 +27,7 @@ define(function () {
|
||||
return false;
|
||||
});
|
||||
|
||||
var new_post = document.getElementById('new_post');
|
||||
new_post.onclick = function () {
|
||||
$('#new_post').on('click', function () {
|
||||
require(['composer'], function (cmp) {
|
||||
cmp.push(0, cid);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user