null is an object
This commit is contained in:
@@ -244,7 +244,7 @@ define([
|
|||||||
// data.force tells us we can safely remove the drive ID
|
// data.force tells us we can safely remove the drive ID
|
||||||
var channel = data;
|
var channel = data;
|
||||||
var force = false;
|
var force = false;
|
||||||
if (typeof(data) === "object") {
|
if (data && typeof(data) === "object") {
|
||||||
channel = data.channel;
|
channel = data.channel;
|
||||||
force = data.force;
|
force = data.force;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user