1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Do not attempt to reference opener unless it is actually defined.

This commit is contained in:
Michael Jumper 2017-04-17 13:24:53 -07:00
parent c7ba6e84b9
commit 8af8c91e2e

View File

@ -23,7 +23,7 @@
/**
* Global storage for Guacamole pages.
*/
GuacamoleSessionStorage = (opener && opener.GuacamoleSessionStorage) || new (function() {
GuacamoleSessionStorage = (window.opener && opener.GuacamoleSessionStorage) || new (function() {
/**
* The contents of storage, as a JSON string containing name/value pairs as