add workaround for Edge dialog bug

hashtags
Nolan Lawson 2018-01-20 19:30:08 -08:00
rodzic adfa5d5fb5
commit 5a11eeea31
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -58,6 +58,10 @@
export default {
oncreate() {
// TODO: this hack is for Edge 16, which makes the modal too wide
if (typeof setImmediate === 'function' && navigator.userAgent.match(/Edge/)) {
this.get('dialog').style.width = `${this.get('width')}px`
}
this.registration = this.register()
},
methods: {