diff --git a/custom_ROToolbox.js b/custom_ROToolbox.js index 2197c3c..0808090 100644 --- a/custom_ROToolbox.js +++ b/custom_ROToolbox.js @@ -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(); }