X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=include%2Foverlay.js;h=e5d2f3fb3bfa979441131b64136ffef0390b4043;hp=432a0763790766ca23f67193b61e1df56024d594;hb=938141692ce114b47e3268df7a2bb115e40e8e0d;hpb=e04e3b035dbc99e57bd2b37fb68696718a825297 diff --git a/include/overlay.js b/include/overlay.js index 432a076..e5d2f3f 100644 --- a/include/overlay.js +++ b/include/overlay.js @@ -65,7 +65,7 @@ var Overlay = new Class({ this.options.onClick(); }.bind(this)); - this.fade = new Fx.Tween(this.container, 'opacity').set(0); + this.fade = new Fx.Tween(this.container).set('opacity', 0); this.position(); window.addEvent('resize', this.position.bind(this));