Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing bug with destroy

  • Loading branch information...
commit 93649d86b4911f1b8c6ecd3957f22be9495e02b3 1 parent 243fd5a
@darkwing darkwing authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Source/LightFace.js
  2. +1 −1  package.yml
View
2  Source/LightFace.js
@@ -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();
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.