From 2697431de68820986cb2a1b45d014398c0b1765f Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Fri, 28 May 2021 09:08:06 +0200 Subject: [PATCH] Fix issue with extend of object in keyboard service --- .../src/common/services/keyboard.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/keyboard.service.js b/src/Umbraco.Web.UI.Client/src/common/services/keyboard.service.js index b49e809eebbb..66babe03b8bf 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/keyboard.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/keyboard.service.js @@ -264,7 +264,7 @@ function keyboardService($window, $timeout) { var elt; // Initialize opt object - opt = Utilities.extend(defaultOpt, opt); + opt = Utilities.extend({}, defaultOpt, opt); label = label.toLowerCase(); elt = opt.target; if(typeof opt.target === 'string'){