Browse Source

Skip image rendering if not necessary

pull/3905/head
Artur Arseniev 5 years ago
parent
commit
761d043f23
  1. 1
      src/dom_components/view/ComponentImageView.js

1
src/dom_components/view/ComponentImageView.js

@ -95,6 +95,7 @@ export default ComponentView.extend({
render() {
this.renderAttributes();
if (this.modelOpt.temporary) return this;
this.updateSrc();
const { $el, model } = this;
const cls = $el.attr('class') || '';

Loading…
Cancel
Save