X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=include%2Fshowwin.js;fp=include%2Fshowwin.js;h=7e4435745d83c9f567f57cb3cf9b948bd72e920b;hp=00f91ce3727cb48e9efc3c1c1e332ed35c47555b;hb=68342a9356f27f9d843c4ceafdf8a42a0e7b17bd;hpb=56c90d4dcc86c8178f577f2f8e47c7c089b5f350 diff --git a/include/showwin.js b/include/showwin.js index 00f91ce..7e44357 100644 --- a/include/showwin.js +++ b/include/showwin.js @@ -20,7 +20,6 @@ var showWindow = new Class({ container: document.body, tohide: '', onClick: $empty, - onKeypress: $empty, } }, @@ -44,8 +43,6 @@ var showWindow = new Class({ display: 'none' }).addEvent('click', function(){ this.options.onClick() - }.bind(this)).addEvent('keypress', function(){ - this.options.onKeypress() }.bind(this)).injectInside(this.options.container); window.addEvent('resize', this.position.bind(this));