feat: hidden class to FOUC

This commit is contained in:
psychobunny
2021-04-26 11:17:46 -04:00
parent a478dc7ee8
commit 2bfa63aecf

View File

@@ -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');
}); });
}, },