Skip to content

Commit

Permalink
Fix issue with extend of object in keyboard service
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef authored and nathanwoulfe committed May 28, 2021
1 parent 7cccbb3 commit 2697431
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'){
Expand Down

0 comments on commit 2697431

Please sign in to comment.