Advertisement
NikolayBezay

Treetrunk custom solution.

Nov 1st, 2022
872
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.55 KB | None | 0 0
  1. <script>
  2. (function() {
  3.     function updateCampaignFontSizes() {
  4.         var adoricInputs = document.querySelectorAll('.__ADORIC__ INPUT');
  5.         Array.from(adoricInputs).forEach( function(item) {
  6.             var currentFontSize = item.style.fontSize;
  7.             item.style.setProperty('font-size', currentFontSize, 'important');
  8.         });
  9.     }
  10.     if (document.readyState === 'loading') {
  11.         document.addEventListener('DOMContentLoaded', updateCampaignFontSizes);
  12.     } else {
  13.         updateCampaignFontSizes();
  14.     }
  15. })();
  16. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement