Skip to content

Commit

Permalink
Merge pull request #4 from doyle-johnpaul/AddInfo-SingleLine
Browse files Browse the repository at this point in the history
Fixed typo in SingleLineEntry
  • Loading branch information
doyle-johnpaul authored Dec 14, 2017
2 parents c32bd49 + 8c5025c commit 2bacbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_ROToolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function addInformation(tag, tagElement) {
// Prevent CR on textarea's where specified
function forceSingleLineEntry(tag, tagElement) {
var target = tagElement.next();
$(target).keydowm(function(event){if(event.which == 13 ){event.preventDefault();}}).keyup(function(event){if(event.which == 13 ){event.preventDefault();}});
$(target).keydown(function(event){if(event.which == 13 ){event.preventDefault();}}).keyup(function(event){if(event.which == 13 ){event.preventDefault();}});
tagElement.remove();
}

Expand Down

0 comments on commit 2bacbe5

Please sign in to comment.