From 784440830164fe43e24652b0c64354e6e7d1922c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 3 Aug 2017 12:15:43 -0400 Subject: [PATCH] linting --- public/src/admin/extend/plugins.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/src/admin/extend/plugins.js b/public/src/admin/extend/plugins.js index bd8ba1b6cb..8723a02a03 100644 --- a/public/src/admin/extend/plugins.js +++ b/public/src/admin/extend/plugins.js @@ -23,7 +23,7 @@ define('admin/extend/plugins', ['jqueryui', 'translator'], function (jqueryui, t var btn = $('#' + pluginID + ' [data-action="toggleActive"]'); var pluginData = ajaxify.data.installed[pluginEl.attr('data-plugin-index')]; - function toggleActivate () { + function toggleActivate() { socket.emit('admin.plugins.toggleActive', pluginID, function (err, status) { if (err) { return app.alertError(err); @@ -58,7 +58,7 @@ define('admin/extend/plugins', ['jqueryui', 'translator'], function (jqueryui, t if (pluginData.license && pluginData.active !== true) { templates.parse('admin/partials/plugins/license', pluginData, function (html) { - var modal = bootbox.dialog({ + bootbox.dialog({ title: '[[admin/extend/plugins:license.title]]', message: html, size: 'large', @@ -71,7 +71,7 @@ define('admin/extend/plugins', ['jqueryui', 'translator'], function (jqueryui, t label: '[[modules:bootbox.confirm]]', className: 'btn-primary', callback: toggleActivate, - } + }, }, }); });