add-to-homescreen icon indicating copy to clipboard operation
add-to-homescreen copied to clipboard

options is undefined

Open JamieMcDonnell opened this issue 8 years ago • 1 comments

on line 230 you have the following: if ( options.debug && (typeof options.logging === "undefined") ) { ...

When I run my site in Chrome Mobile Emulation mode, this fails because "options" is undefined, yet you are trying to access properties of it as if it were an object.

My workaround is: if (options && options.debug && (typeof options.logging === "undefined") ) { ...

JamieMcDonnell avatar Jul 21 '16 09:07 JamieMcDonnell

I used you work around for version 3.2.2. it is fixed now in master though

rip747 avatar Jul 25 '16 19:07 rip747