Some desperate attempts to make IE8 work.

This commit is contained in:
FrozenCow 2011-02-18 00:07:59 +01:00
parent a3e2606486
commit bf4ea4f08d
3 changed files with 14 additions and 6 deletions

View file

@ -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);
}
}