Skip to content

Commit

Permalink
Adding stackoverflow.com to the readme
Browse files Browse the repository at this point in the history
* Removed textarea for dewski#1
  • Loading branch information
jakebellacera committed Jan 30, 2013
1 parent 22516e2 commit bff6af0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion 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();
}
Expand Down

0 comments on commit bff6af0

Please sign in to comment.