Some desperate attempts to make IE8 work.
This commit is contained in:
parent
a3e2606486
commit
bf4ea4f08d
3 changed files with 14 additions and 6 deletions
|
|
@ -73,11 +73,11 @@ CustomMarker.prototype.show = function() {
|
|||
}
|
||||
|
||||
CustomMarker.prototype.toggle = function(t) {
|
||||
if (typeof t == "boolean") {
|
||||
if (t) this.show();
|
||||
else this.hide();
|
||||
if ((typeof t) == "boolean") {
|
||||
if (t) { this.show(); }
|
||||
else { this.hide(); }
|
||||
} else {
|
||||
this.toggle(this.isHidden == true);
|
||||
this.toggle((this.isHidden) == true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue