barsa-novin-ray-core 2.3.88 → 2.3.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13447,9 +13447,9 @@ class ImageLazyDirective extends BaseDirective {
13447
13447
  super.ngOnInit();
13448
13448
  const supports = 'loading' in HTMLImageElement.prototype;
13449
13449
  if (supports) {
13450
+ this.handleLoadEvent(this._imgEl);
13450
13451
  this._imgEl.src = this.imgLazy;
13451
13452
  this._imgEl.setAttribute('loading', 'lazy');
13452
- this.handleLoadEvent(this._imgEl);
13453
13453
  return;
13454
13454
  }
13455
13455
  const timer1 = timer(1000);