null is an object
parent
3303e9738d
commit
970dcb8b8b
|
@ -244,7 +244,7 @@ define([
|
|||
// data.force tells us we can safely remove the drive ID
|
||||
var channel = data;
|
||||
var force = false;
|
||||
if (typeof(data) === "object") {
|
||||
if (data && typeof(data) === "object") {
|
||||
channel = data.channel;
|
||||
force = data.force;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue