Node.js based forum software built for the modern web
moved add commas to process page
barisusakli66abd206479c
diff --git a/public/src/app.js b/public/src/app.jsindex 720fb01d8c..fa6c2a11d5 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -296,6 +296,8 @@ var socket,utils.makeNumbersHumanReadable($('.human-readable-number'));+ utils.addCommasToNumbers($('.formatted-number'));+app.createUserTooltips();app.createStatusTooltips();diff --git a/public/src/forum/account/followers.js b/public/src/forum/account/followers.jsindex 9576ad4547..57e39fe54f 100644--- a/public/src/forum/account/followers.js+++ b/public/src/forum/account/followers.js@@ -13,7 +13,6 @@ define(['forum/account/header'], function(header) {$('#no-followers-notice').removeClass('hide');}- utils.addCommasToNumbers($('.account .formatted-number'));};return Followers;diff --git a/public/src/forum/account/following.js b/public/src/forum/account/following.jsindex 5bbce74d10..0da72b8ccf 100644--- a/public/src/forum/account/following.js+++ b/public/src/forum/account/following.js@@ -9,8 +9,6 @@ define(['forum/account/header'], function(header) {if (parseInt(followingCount, 10) === 0) {$('#no-following-notice').removeClass('hide');}-- utils.addCommasToNumbers($('.account .formatted-number'));};return Following;diff --git a/public/src/forum/account/profile.js b/public/src/forum/account/profile.jsindex 140f3f53cd..9c45bf6e7b 100644--- a/public/src/forum/account/profile.js+++ b/public/src/forum/account/profile.js@@ -39,8 +39,6 @@ define(['forum/account/header'], function(header) {};function processPage() {- utils.addCommasToNumbers($('.account .formatted-number'));- utils.makeNumbersHumanReadable($('.account .human-readable-number'));$('.user-recent-posts img').addClass('img-responsive');}diff --git a/public/src/forum/topic.js b/public/src/forum/topic.jsindex 9b50a2246a..460bfa43b6 100644--- a/public/src/forum/topic.js+++ b/public/src/forum/topic.js@@ -33,8 +33,6 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',$(window).trigger('action:topic.loading');- utils.addCommasToNumbers($('.topic .formatted-number'));-app.enterRoom('topic_' + tid);showBottomPostBar();@@ -110,7 +108,7 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',$this.append('<i class="fa fa-ellipsis-h pointer toggle"></i>');}});-+$('blockquote .toggle').on('click', function() {$(this).parent('blockquote').toggleClass('uncollapsed');});diff --git a/public/src/forum/users.js b/public/src/forum/users.jsindex 898d6ac90c..2187e40ccf 100644--- a/public/src/forum/users.js+++ b/public/src/forum/users.js@@ -16,8 +16,6 @@ define(function() {var lastSearch = null;- utils.addCommasToNumbers($('.users .formatted-number'));-$('.nav-pills li').removeClass('active');$('.nav-pills li a').each(function() {var $this = $(this);