unbind keydown #52

Closed
pgherveou opened this Issue Jul 11, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

pgherveou commented Jul 11, 2012

Just wondering shouldn't we do that just to be safe ?

  Dialog.prototype.remove = function(){
    this.emit('hide');
    this.el.remove();
    $(document).unbind('keydown.dialog');
    return this;
  };
Contributor

pgherveou commented Jul 11, 2012

see #54

pgherveou closed this Jul 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment