DEV: Upgrades to Ember 3.10 (#7871)

Co-Authored-By: majakomel <maja.komel@gmail.com>
This commit is contained in:
Joffrey JAFFEUX
2019-07-16 12:45:15 +02:00
committed by GitHub
parent e2fa5704e9
commit b3eb67976d
78 changed files with 332 additions and 263 deletions

View File

@ -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`;
}
},