title: OnError not shown the default image
body: <p>I'm trying to display a default image when the other specified in <code>src</code> doesn't exists, so I did:</p>
  
  <pre><code>&lt;img src=".././uploads/images/avatar/' + user.id + '.png" onerror="this.src='+"assets/img/default-avatar.png"+'"&gt;&lt;/div&gt;';
  </code></pre>
  
  <p>the problem is that I still get the broken thumbnail. Strange thing is that: if I switch the src, so I place <code>assets/img/default-avatar.png</code> in the <code>src</code> all works well, any idea?</p>