Skip to content

Cannot read property 'css' of undefined at Image.newImg.onload (jquery.elevatezoom.js:1188) #118

@sahilrihadh

Description

@sahilrihadh

self.options.onImageSwap(self.$elem);

			newImg.onload = function() {
				self.largeWidth = newImg.width;
				self.largeHeight = newImg.height;
				self.zoomImage = largeimage;
				self.zoomWindow.css({ "background-size": self.largeWidth + 'px' + self.largeHeight + 'px' });
				self.swapAction(smallimage, largeimage);
				return;              
			}          

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions