2 changed files with 5 additions and 1 deletions

No files matched your search

@@ -546,10 +546,12 @@ Guacamole.Mouse.Event = function MouseEvent(type, state, events) {
/**
* The current mouse state at the time this event was fired.
* The state object is cloned so as not to be affected by subsequent events
* that will have their own dedicated Guacamole.Mouse.Event instance.
*
* @type {!Guacamole.Mouse.State}
*/
this.state = state;
this.state = { ...state };
/**
* @inheritdoc
@@ -121,6 +121,8 @@ angular.module('storage').provider('localStorageService', [function localStorage
// Pull and parse value from internal storage, if present
var data = storedItems[key];
if (!data || data === "undefined")
return null;
if (data)
return JSON.parse(data);