Fix click handler does not work always for images with href attribute

This commit is contained in:
Hadi Nategh 2015-04-09 10:52:36 +00:00
parent 75bbe05335
commit 699df9241c

View File

@ -157,11 +157,12 @@ var et2_image = expose(et2_baseWidget.extend([et2_IDetachedDOM],
var popup = this.options.extra_link_popup;
var target = this.options.extra_link_target;
var self = this;
this.image.parent().click(function(e)
this.image.click(function(e)
{
if (self.options.expose_view)
{
self._init_blueimp_gallery(e,_value);
e.stopImmediatePropagation();
}
else
{