Skip to content
Permalink
Browse files

Minor update to HTMLComponent for 2.11 compliance

  • Loading branch information...
darkfrog26 committed Aug 12, 2019
1 parent 0df8255 commit 7e6ae6a8fe916455feb025afe310f546eee74767
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/js/src/main/scala/io/youi/component/extras/HTMLComponent.scala
@@ -77,7 +77,7 @@ trait HTMLComponent[E <: html.Element] extends Component with HTMLComponentTheme
})
observer.observe(element)
} else {
val observer = new MutationObserver((entries: js.Array[MutationRecord], _) => {
val observer = new MutationObserver((entries: js.Array[MutationRecord], _: MutationObserver) => {
val records = entries.toList.filterNot(_.attributeName.startsWith("aria"))
if (records.nonEmpty) {
invalidateTransform()

0 comments on commit 7e6ae6a

Please sign in to comment.
You can’t perform that action at this time.