mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
DEV: Upgrades to Ember 3.10 (#7871)
Co-Authored-By: majakomel <maja.komel@gmail.com>
This commit is contained in:
@ -40,7 +40,7 @@ export default SelectKitComponent.extend({
|
||||
_setChoicesMaxWidth() {
|
||||
const width = this.$body().outerWidth(false);
|
||||
if (width > 0) {
|
||||
this.$(".choices").css({ maxWidth: width });
|
||||
this.element.querySelector(".choices").style.maxWidth = `${width}px`;
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user