diff --git a/public/src/forum/admin/plugins.js b/public/src/forum/admin/plugins.js
index 733b01ba12..1ae5aa6dd5 100644
--- a/public/src/forum/admin/plugins.js
+++ b/public/src/forum/admin/plugins.js
@@ -14,7 +14,7 @@ define(function() {
pluginID = $(this).parents('li').attr('data-plugin-id');
var btn = $(this);
socket.emit('admin.plugins.toggleActive', pluginID, function(err, status) {
- btn.html(' ' + status.active ? 'Deactivate' : 'Activate');
+ btn.html(' ' + (status.active ? 'Deactivate' : 'Activate'));
btn.toggleClass('btn-warning', status.active).toggleClass('btn-success', !status.active);
app.alert({