[bug] fixed the bug when src not null.

Steps to Reproduce:
1. html:
```<img src="http://xxxx.jpg" data-src="holder.js/100x200" >```
2.trigger window `resize` event.

the img.src will be holder datasrc.

Thanks!