atesh/XKit — pull request #93 by beiju (2013-06-29 23:45:43+00:00)
Title: Fixed some embarrassing errors

- The destroy() function redirected the user to tumblr.com/undefined, preventing uninstallation
- The extension tried to work when editing a post

Other minor fixes:
- Removed the separator in the Preferences
- Wrapped the destroy function in a try-catch to avoid other problems from preventing an uninstall. (That wouldn't have fixed that one, but it's worth having.)
- Used jQuery's event.which instead of duplicating its functionality

This had a few pretty bad bugs, so the sooner you can merge it in the better. Sorry about that.