Skip to content

Commit bbe9a96

Browse files
committed
Patch for #476
1 parent 3ecacda commit bbe9a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

www/googlemaps-cdv-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ App.prototype.getMap = function(div, params) {
278278
}
279279
if (currentDiv.classList) {
280280
currentDiv.classList.remove('_gmaps_cdv_');
281-
} else if (div.className) {
281+
} else if (currentDiv.className) {
282282
currentDiv.className = currentDiv.className.replace(/_gmaps_cdv_/g, "");
283283
currentDiv.className = currentDiv.className.replace(/\s+/g, " ");
284284
}

0 commit comments

Comments
 (0)