Fix issue with extend of object in keyboard service
This commit is contained in:
committed by
Nathan Woulfe
parent
7cccbb3fbf
commit
2697431de6
@@ -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'){
|
||||
|
||||
Reference in New Issue
Block a user