mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	update dependencies and various tweaks (#7344)
- ran `make npm-update` - ran `make js`, fixed new lint issue - ran `make css`, this added back some vendor prefixes - added `engines` property to package.json to specify minimum required Node.js version - added `private` property to package.json to prevent accidential publishing to npm
This commit is contained in:
		@@ -396,18 +396,16 @@ function initCommentForm() {
 | 
			
		||||
            hasLabelUpdateAction = $listMenu.data('action') == 'update'; // Update the var
 | 
			
		||||
            if (hasLabelUpdateAction) {
 | 
			
		||||
                var promises = [];
 | 
			
		||||
                for (var elementId in labels) {
 | 
			
		||||
                    if (labels.hasOwnProperty(elementId)) {
 | 
			
		||||
                        var label = labels[elementId];
 | 
			
		||||
                        var promise = updateIssuesMeta(
 | 
			
		||||
                            label["update-url"],
 | 
			
		||||
                            label["action"],
 | 
			
		||||
                            label["issue-id"],
 | 
			
		||||
                            elementId
 | 
			
		||||
                        );
 | 
			
		||||
                        promises.push(promise);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                Object.keys(labels).forEach(function(elementId) {
 | 
			
		||||
                    var label = labels[elementId];
 | 
			
		||||
                    var promise = updateIssuesMeta(
 | 
			
		||||
                        label["update-url"],
 | 
			
		||||
                        label["action"],
 | 
			
		||||
                        label["issue-id"],
 | 
			
		||||
                        elementId
 | 
			
		||||
                    );
 | 
			
		||||
                    promises.push(promise);
 | 
			
		||||
                });
 | 
			
		||||
                Promise.all(promises).then(reload);
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user