Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding stackoverflow.com to the readme

* Removed textarea for dewski/cmd-enter#1
  • Loading branch information...
commit bff6af0e23a50ee97405d0696feee3c11d8f6a56 1 parent 22516e2
Jake Bellacera authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  README.md
  2. +1 −1  stackoverflow.com.js
1  README.md
View
@@ -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
2  stackoverflow.com.js
View
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.