Avoid JS errors

This commit is contained in:
fkloft
2014-08-13 10:53:09 +02:00
parent 360c51e7dc
commit 546ed4e98f
2 changed files with 2 additions and 2 deletions

View File

@ -416,7 +416,7 @@ window.clampLatLngBounds = function(bounds) {
// avoid error in stock JS
if(goog && goog.style) {
goog.style.showElement = function(a, b) {
goog.style.setElementShown = goog.style.showElement = function(a, b) {
if(a && a.style)
a.style.display = b ? "" : "none"
};