mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSsmoothbox : Ajout d'un event de femeture lors d'un double clic sur l'image ouverte.
This commit is contained in:
parent
379ab649b3
commit
91881a4c7a
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ var LSsmoothbox = new Class({
|
|||
this.open();
|
||||
this.load();
|
||||
this.img = new Asset.image(src, {onload: this.resizeToImage.bind(this)});
|
||||
this.img.addEvent('dblclick',this.closeConfirm.bind(this));
|
||||
},
|
||||
|
||||
resizeToImage: function() {
|
||||
|
|
Loading…
Reference in a new issue