mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	feat: pass in target element in action:topic.tools.load
This commit is contained in:
		| @@ -153,7 +153,9 @@ define('forum/topic/threadTools', [ | |||||||
| 				} | 				} | ||||||
| 				app.parseAndTranslate('partials/topic/topic-menu-list', data, function (html) { | 				app.parseAndTranslate('partials/topic/topic-menu-list', data, function (html) { | ||||||
| 					dropdownMenu.html(html); | 					dropdownMenu.html(html); | ||||||
| 					$(window).trigger('action:topic.tools.load'); | 					$(window).trigger('action:topic.tools.load', { | ||||||
|  | 						element: dropdownMenu, | ||||||
|  | 					}); | ||||||
| 				}); | 				}); | ||||||
| 			}); | 			}); | ||||||
| 		}); | 		}); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user