feat: `hidden` class to FOUC

v1.18.x
psychobunny 4 years ago
parent a478dc7ee8
commit 2bfa63aecf

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

Loading…
Cancel
Save