visionmedia / uikit

UIKit - modern ui components for the modern web

Home Page:http://visionmedia.github.com/uikit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unbind keydown

pgherveou opened this issue · comments

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;
  };