X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=include%2Fshowwin.js;h=7e4435745d83c9f567f57cb3cf9b948bd72e920b;hp=00f91ce3727cb48e9efc3c1c1e332ed35c47555b;hb=dc476cc5961e6326e9a922f9eb8b1220a6d7ae41;hpb=9e2f170c6e4ffb4f6ba758387c5689142615ecbd 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));