mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
fix: add dropup handler to thread tools menu, updated how post tools menu adds dropup handler
This commit is contained in:
@@ -181,6 +181,12 @@ define('forum/topic', [
|
||||
Topic.applyDropup.call(this);
|
||||
}
|
||||
});
|
||||
hooks.onPage('action:topic.tools.load', ({ element }) => {
|
||||
Topic.applyDropup.call(element.get(0).parentNode);
|
||||
});
|
||||
hooks.onPage('action:post.tools.load', ({ element }) => {
|
||||
Topic.applyDropup.call(element.get(0).parentNode);
|
||||
});
|
||||
}
|
||||
|
||||
function addRepliesHandler() {
|
||||
|
||||
Reference in New Issue
Block a user