更新 infowindow-view.js
This commit is contained in:
parent
52aaa9f15d
commit
839afe87bd
@ -103,6 +103,9 @@ var Infowindow = View.extend({
|
||||
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')) {
|
||||
this._getContent().css('max-height', this.model.get('maxHeight') + 'px');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user