Skip to content

Commit

Permalink
Fixed typo in SingleLineEntry
Browse files Browse the repository at this point in the history
Changed keydowm to keydown
  • Loading branch information
doyle-johnpaul committed Dec 14, 2017
1 parent ded94cd commit 8c5025c
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 8c5025c

Please sign in to comment.