title: Script doesn't work on elements loaded with infinite scrolling
body: <p>I'm using this script on my tumblr page, which gives posts different random text colors:</p>
  
  <pre><code>function get_random_color() {
  var letters = '0123456789ABCDEF'.split('');
  var color = '#';
  for (var i = 0; i &lt; 6; i++ ) {
      color += letters[Math.round(Math.random() * 15)];
  }
  return color;}
  $(function() {
  $(".post").each(function() {
      $(this).css("color", get_random_color());
  }); });
  </code></pre>
  
  <p>The thing is the script isn't working for elements loaded with infinite scrolling. Can anyone help me rewrite this code? I don't know how to write javascript sadly.</p>