Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48174ade62 | ||
|
|
76979644d4 | ||
|
|
4950688a78 | ||
|
|
439c8a5384 | ||
|
|
4a28e44f2e | ||
|
|
81a38a577b |
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 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}
|
* @type {!Guacamole.Mouse.State}
|
||||||
*/
|
*/
|
||||||
this.state = state;
|
this.state = { ...state };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
|
|||||||
@@ -121,6 +121,8 @@ angular.module('storage').provider('localStorageService', [function localStorage
|
|||||||
|
|
||||||
// Pull and parse value from internal storage, if present
|
// Pull and parse value from internal storage, if present
|
||||||
var data = storedItems[key];
|
var data = storedItems[key];
|
||||||
|
if (!data || data === "undefined")
|
||||||
|
return null;
|
||||||
if (data)
|
if (data)
|
||||||
return JSON.parse(data);
|
return JSON.parse(data);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user