destringify undefined

This commit is contained in:
Andy Gup 2015-07-29 18:21:42 -06:00
parent 84ff80d8f7
commit 1d7bef3521

View File

@ -39,7 +39,7 @@ define([
layer._minZoom = null;
layer._maxZoom = null;
if( dbConfig === "undefined" || dbConfig === null){
if( dbConfig === undefined || dbConfig === null){
// Database properties
layer.DB_NAME = "offline_tile_store"; // Sets the database name.
layer.DB_OBJECTSTORE_NAME = "tilepath"; // Represents an object store that allows access to a set of data in the IndexedDB database