mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	fixed linting
This commit is contained in:
		| @@ -41,7 +41,7 @@ | ||||
|             <span class="dropdown-header"><%- i18n('audit-log', 'certificate') %> #<%- id %></span> | ||||
|             <% if (provider === 'letsencrypt') { %> | ||||
|                 <a href="#" class="renew dropdown-item"><i class="dropdown-icon fe fe-refresh-cw"></i> <%- i18n('certificates', 'force-renew') %></a> | ||||
|                 <a href="#" class="download dropdown-item"><i class="dropdown-icon fe fe-download"></i><%- i18n('certificates', 'download') %></a> | ||||
|                 <a href="#" class="download dropdown-item"><i class="dropdown-icon fe fe-download"></i> <%- i18n('certificates', 'download') %></a> | ||||
|                 <div class="dropdown-divider"></div> | ||||
|             <% } %> | ||||
|             <a href="#" class="delete dropdown-item"><i class="dropdown-icon fe fe-trash-2"></i> <%- i18n('str', 'delete') %></a> | ||||
|   | ||||
| @@ -31,6 +31,7 @@ module.exports = Mn.View.extend({ | ||||
|             let win = window.open($(e.currentTarget).attr('rel'), '_blank'); | ||||
|             win.focus(); | ||||
|         }, | ||||
|          | ||||
|         'click @ui.download': function (e) { | ||||
|             e.preventDefault(); | ||||
|             App.Api.Nginx.Certificates.download(this.model.get('id')) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user