Browse files

Adding stackoverflow.com to the readme

* Removed textarea for dewski/cmd-enter#1
  • Loading branch information...
1 parent 22516e2 commit bff6af0e23a50ee97405d0696feee3c11d8f6a56 @jakebellacera committed Jan 30, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 README.md
  2. +1 −1 stackoverflow.com.js
View
1 README.md
@@ -14,6 +14,7 @@ to making less kittens weep.
- [hackernews](https://github.com/dewski/cmd-enter/blob/master/news.ycombinator.com.js)
- [reddit](https://github.com/dewski/cmd-enter/blob/master/reddit.com.js)
- [twitter](https://github.com/dewski/cmd-enter/blob/master/twitter.com.js)
+- [stackoverflow](https://github.com/dewski/cmd-enter/blob/master/stackoverflow.com.js)
## Contributing
View
2 stackoverflow.com.js
@@ -1,4 +1,4 @@
-$(document).on('keydown', 'textarea#wmd-input, form[id^="add-comment-"] textarea', function(e) {
+$(document).on('keydown', '#wmd-input, form[id^="add-comment-"] textarea', function(e) {
if(e.keyCode == 13 && (e.metaKey || e.ctrlKey)) {
$(this).parents('form').submit();
}

0 comments on commit bff6af0

Please sign in to comment.