Skip to content

Commit

Permalink
Fixing bug with destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Nov 10, 2010
1 parent 243fd5a commit 93649d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/LightFace.js
Expand Up @@ -336,7 +336,7 @@ var LightFace = new Class({
// Cleanup
destroy: function() {
this._detachEvents();
this.button.each(function(button) {
this.buttons.each(function(button) {
button.removeEvents('click');
});
this.box.dispose();
Expand Down
2 changes: 1 addition & 1 deletion package.yml
@@ -1,6 +1,6 @@
name: LightFace
author: davidwalsh
current: 0.93
current: 0.94
category: Interface
tags: [lightbox,facebook,overlay,modal]
docs: http://davidwalsh.name/js/lightface
Expand Down

0 comments on commit 93649d8

Please sign in to comment.