mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix: +comment, -debug log
This commit is contained in:
		| @@ -102,6 +102,7 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart) | ||||
| 				var flagIds = Flags.getSelected(); | ||||
| 				var promises = []; | ||||
|  | ||||
| 				// TODO: this can be better done with flagIds.map to return promises | ||||
| 				flagIds.forEach(function (flagId) { | ||||
| 					promises.push(new Promise(function (resolve, reject) { | ||||
| 						var handler = function (err) { | ||||
| @@ -151,7 +152,6 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart) | ||||
| 						app.alertSuccess('[[flags:bulk-success, ' + fulfilled + ']]'); | ||||
| 					} | ||||
|  | ||||
| 					console.log(errors); | ||||
| 					errors.forEach(function (res) { | ||||
| 						app.alertError(res.reason); | ||||
| 					}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user