mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-11 01:52:55 +01:00
feat: hidden class to FOUC
This commit is contained in:
@@ -469,7 +469,9 @@
|
|||||||
|
|
||||||
makeNumbersHumanReadable: function (elements) {
|
makeNumbersHumanReadable: function (elements) {
|
||||||
elements.each(function () {
|
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) {
|
addCommasToNumbers: function (elements) {
|
||||||
elements.each(function (index, element) {
|
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