mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-27 17:16:14 +01:00 
			
		
		
		
	feat: hide some filters behind 'more filters' button
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.66", | ||||
|         "nodebb-theme-persona": "10.1.67", | ||||
|         "nodebb-theme-slick": "1.2.29", | ||||
|         "nodebb-theme-vanilla": "11.1.34", | ||||
|         "nodebb-theme-vanilla": "11.1.35", | ||||
|         "nodebb-widget-essentials": "4.1.1", | ||||
|         "nodemailer": "^6.4.6", | ||||
|         "passport": "^0.4.1", | ||||
|   | ||||
| @@ -26,6 +26,7 @@ | ||||
| 	"filter-quick-mine": "Assigned to me", | ||||
| 	"filter-cid-all": "All categories", | ||||
| 	"apply-filters": "Apply Filters", | ||||
| 	"more-filters": "More Filters", | ||||
|  | ||||
| 	"quick-actions": "Quick Actions", | ||||
| 	"flagged-user": "Flagged User", | ||||
|   | ||||
| @@ -24,7 +24,7 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart) | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		filtersEl.find('button').on('click', function () { | ||||
| 		document.getElementById('apply-filters').addEventListener('click', function () { | ||||
| 			var payload = filtersEl.serializeArray().filter(function (item) { | ||||
| 				return !!item.value; | ||||
| 			}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user