Skip to content
Browse files

Fix reddit keyboard submit button usage. Thanks jk3us!

  • Loading branch information...
1 parent 4270691 commit bc3f82cf044a08295af7326ede75fd6f47de8251 @chromakode committed Sep 23, 2009
Showing with 5 additions and 1 deletion.
  1. +4 −0 NEWS
  2. +1 −1 modules/reddit/reddit.jsm
View
4 NEWS
@@ -1,3 +1,7 @@
+== Version 1.4 ==
+* New information tooltip on url bar icons.
+* Submit bar submits on tab+enter.
+
== Version 1.3.3.7 (Preview Release) ==
* New message ("orangered envelope") notifications for reddit.
* Submission bar now fetches the full list of subscribed subreddits.
View
2 modules/reddit/reddit.jsm
@@ -496,7 +496,7 @@ RedditSite.prototype.createBarSubmitUI = function(document) {
hideSubreddits // Silently hide subreddits listing if there was an error fetching the list.
).perform();
- this.buttonSubmit.addEventListener("click", function(e) {
+ this.buttonSubmit.addEventListener("command", function(e) {
var subredditURL;
if (barSubmit.menulistSubreddit.selectedItem && !barSubmit.hidden) {
subredditURL = barSubmit.menulistSubreddit.selectedItem.value;

0 comments on commit bc3f82c

Please sign in to comment.
Something went wrong with that request. Please try again.