', { component: 'post/replies' }).html(html).hide().insertAfter(button).slideDown('fast');
+ $('
', { component: 'post/replies' }).html(html).hide().insertAfter(button)
+ .slideDown('fast');
posts.processPage(html);
$(window).trigger('action:posts.loaded', { posts: data });
});
diff --git a/public/src/client/users.js b/public/src/client/users.js
index bf6873e693..b0d8646da6 100644
--- a/public/src/client/users.js
+++ b/public/src/client/users.js
@@ -17,7 +17,8 @@ define('forum/users', ['translator', 'benchpress'], function (translator, Benchp
app.enterRoom('user_list');
var section = utils.params().section ? ('?section=' + utils.params().section) : '';
- $('.nav-pills li').removeClass('active').find('a[href="' + window.location.pathname + section + '"]').parent().addClass('active');
+ $('.nav-pills li').removeClass('active').find('a[href="' + window.location.pathname + section + '"]').parent()
+ .addClass('active');
handleSearch();
diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js
index 45235e3321..dcc015f435 100644
--- a/public/src/modules/helpers.js
+++ b/public/src/modules/helpers.js
@@ -82,7 +82,8 @@
function stringify(obj) {
// Turns the incoming object into a JSON string
- return JSON.stringify(obj).replace(/&/gm, '&').replace(//gm, '>').replace(/"/g, '"');
+ return JSON.stringify(obj).replace(/&/gm, '&').replace(//gm, '>')
+ .replace(/"/g, '"');
}
function escape(str) {
diff --git a/public/src/modules/iconSelect.js b/public/src/modules/iconSelect.js
index 4285140d4d..dfc190f28d 100644
--- a/public/src/modules/iconSelect.js
+++ b/public/src/modules/iconSelect.js
@@ -46,7 +46,8 @@ define('iconSelect', ['benchpress'], function (Benchpress) {
className: 'btn-primary',
callback: function () {
var iconClass = $('.bootbox .selected').attr('class');
- var categoryIconClass = $('
').addClass(iconClass).removeClass('fa').removeClass('selected').attr('class');
+ var categoryIconClass = $('
').addClass(iconClass).removeClass('fa').removeClass('selected')
+ .attr('class');
if (categoryIconClass) {
el.attr('class', 'fa ' + (doubleSize ? 'fa-2x ' : '') + categoryIconClass);