mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
feat: hidden class to FOUC
This commit is contained in:
@@ -469,7 +469,9 @@
|
||||
|
||||
makeNumbersHumanReadable: function (elements) {
|
||||
elements.each(function () {
|
||||
$(this).html(utils.makeNumberHumanReadable($(this).attr('title')));
|
||||
$(this)
|
||||
.html(utils.makeNumberHumanReadable($(this).attr('title')))
|
||||
.removeClass('hidden');
|
||||
});
|
||||
},
|
||||
|
||||
@@ -488,7 +490,9 @@
|
||||
|
||||
addCommasToNumbers: function (elements) {
|
||||
elements.each(function (index, element) {
|
||||
$(element).html(utils.addCommas($(element).html()));
|
||||
$(element)
|
||||
.html(utils.addCommas($(element).html()))
|
||||
.removeClass('hidden');
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user