]> www.average.org Git - mkgallery.git/blobdiff - include/overlay.js
attempt to migrate to moo 1.2
[mkgallery.git] / include / overlay.js
index 432a0763790766ca23f67193b61e1df56024d594..e5d2f3fb3bfa979441131b64136ffef0390b4043 100644 (file)
@@ -65,7 +65,7 @@ var Overlay = new Class({
                        this.options.onClick();\r
                }.bind(this));\r
                \r
-               this.fade = new Fx.Tween(this.container, 'opacity').set(0);\r
+               this.fade = new Fx.Tween(this.container).set('opacity', 0);\r
                this.position();\r
                \r
                window.addEvent('resize', this.position.bind(this));\r