mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-23 16:32:11 +03:00
make sure it exists (#73)
This commit is contained in:
parent
24c1b7fa06
commit
2342836ac1
@ -17,6 +17,7 @@ CustomElement.create({
|
||||
onAttributeChange: function(name, previous, next) {
|
||||
if (name === 'data-autoresize') {
|
||||
this._autoresize = next !== null
|
||||
if (!this._textarea) return
|
||||
this._updateListener()
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user