to stop leaking showwin's internals, make a trivial getter
[mkgallery.git] / include / showwin.js
index 7e4435745d83c9f567f57cb3cf9b948bd72e920b..10978772e8a19407191325ea6f581ea7387e2958 100644 (file)
@@ -101,7 +101,11 @@ var showWindow = new Class({
                }
                document.body.setStyles(this.bodystyles);
                this.container.setStyle('display', 'none');
-       }
+       },
+
+       domelement: function(){
+               return this.container;
+       },
 })
 showWindow.implement(new Options);