Lines Matching refs:_this4
500 var _this4 = this;
517 _this4.isAnimating = true;
518 if (!_this4.isClosing) {
520 var element = _this4.relatedElements[_this4.currentImageIndex];
521 if (!_this4.currentImage) return;
522 … _this4.currentImage.setAttribute('src', element.getAttribute(_this4.options.sourceAttr));
523 … if (_this4.loadedImages.indexOf(element.getAttribute(_this4.options.sourceAttr)) === -1) {
524 _this4.show(_this4.domNodes.spinner);
526 if (_this4.domNodes.image.contains(_this4.domNodes.caption)) {
527 _this4.domNodes.image.removeChild(_this4.domNodes.caption);
529 _this4.adjustImage(slideDirection);
530 if (_this4.options.preloading) _this4.preload();
533 _this4.isAnimating = false;