Permalink
Browse files

Fixed bug preventing periods from being written in comment textareas.

  • Loading branch information...
1 parent 4e4fa81 commit e95415164bd7dd30a62f26ba7f392da6dba2b774 @ichthyos committed Apr 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 fullfeed.js
View
2 fullfeed.js
@@ -158,7 +158,7 @@ setTimeout(function() {
port.postMessage({task: 'siteinfo'});
if(!!document["listenerAdded"]){ return }
document.addEventListener('keydown', function(e){
- if(e.target.tagName.toLowerCase() == "input"){
+ if(e.target.tagName.toLowerCase() == "input" || e.target.tagName.toLowerCase() == "textarea"){
return
}else if(e.keyCode == 188){
// "," "<"

0 comments on commit e954151

Please sign in to comment.