destringify undefined #2

This commit is contained in:
Andy Gup 2015-07-29 18:22:04 -06:00
parent 1d7bef3521
commit 5aa62c317c

View File

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