Don't use goog.isBoolean()

This commit is contained in:
Marc Jansen
2016-02-16 23:32:07 +01:00
parent 6276bbce38
commit 068960e4b2
3 changed files with 4 additions and 4 deletions

View File

@@ -1502,7 +1502,7 @@ ol.Map.createOptionsInternal = function(options) {
var logos = {};
if (options.logo === undefined ||
(goog.isBoolean(options.logo) && options.logo)) {
(typeof options.logo === 'boolean' && options.logo)) {
logos[ol.OL3_LOGO_URL] = ol.OL3_URL;
} else {
var logo = options.logo;