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