mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
feat: collapsible daily flags graph
This commit is contained in:
@@ -90,9 +90,9 @@
|
||||
"nodebb-plugin-spam-be-gone": "0.7.2",
|
||||
"nodebb-rewards-essentials": "0.1.3",
|
||||
"nodebb-theme-lavender": "5.0.11",
|
||||
"nodebb-theme-persona": "10.1.65",
|
||||
"nodebb-theme-persona": "10.1.66",
|
||||
"nodebb-theme-slick": "1.2.29",
|
||||
"nodebb-theme-vanilla": "11.1.33",
|
||||
"nodebb-theme-vanilla": "11.1.34",
|
||||
"nodebb-widget-essentials": "4.1.1",
|
||||
"nodemailer": "^6.4.6",
|
||||
"passport": "^0.4.1",
|
||||
|
||||
@@ -5,7 +5,13 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart)
|
||||
|
||||
Flags.init = function () {
|
||||
Flags.enableFilterForm();
|
||||
|
||||
var graphWrapper = $('#flags-daily-wrapper');
|
||||
var graphFooter = graphWrapper.siblings('.panel-footer');
|
||||
$('#flags-daily-wrapper').one('shown.bs.collapse', function () {
|
||||
Flags.handleGraphs();
|
||||
});
|
||||
graphFooter.on('click', graphWrapper.collapse.bind(graphWrapper, 'toggle'));
|
||||
};
|
||||
|
||||
Flags.enableFilterForm = function () {
|
||||
|
||||
Reference in New Issue
Block a user