- LSsmoothbox : Ajout d'un event de femeture lors d'un double clic sur l'image ouverte.

This commit is contained in:
Benjamin Renard 2009-02-12 09:09:56 +00:00
parent 379ab649b3
commit 91881a4c7a

View file

@ -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() {