mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix click handler does not work always for images with href attribute
This commit is contained in:
parent
6abaf60a22
commit
809ad4a678
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user