|
|
@ -103,6 +103,9 @@ var Infowindow = View.extend({
|
|
|
|
this.$('.js-infowindow').css('width', this.model.get('width') + 'px');
|
|
|
|
this.$('.js-infowindow').css('width', this.model.get('width') + 'px');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.model.get('height')) {
|
|
|
|
|
|
|
|
this.$('.js-infowindow').css('height', this.model.get('height') + 'px');
|
|
|
|
|
|
|
|
}
|
|
|
|
if (this.model.get('maxHeight')) {
|
|
|
|
if (this.model.get('maxHeight')) {
|
|
|
|
this._getContent().css('max-height', this.model.get('maxHeight') + 'px');
|
|
|
|
this._getContent().css('max-height', this.model.get('maxHeight') + 'px');
|
|
|
|
}
|
|
|
|
}
|
|
|
|