From 8c5025c6e138772986e2fa05ad4f4ff541d39927 Mon Sep 17 00:00:00 2001 From: John Doyle Date: Thu, 14 Dec 2017 17:45:21 +0000 Subject: [PATCH] Fixed typo in SingleLineEntry Changed keydowm to keydown --- custom_ROToolbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }