mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-24 23:04:32 -04:00
Fixed invalid destructuring attempt on NodeList
This commit is contained in:
@@ -53,7 +53,7 @@ export default class Result {
|
||||
this.el_ = ref
|
||||
|
||||
/* Retrieve metadata and list element */
|
||||
const [meta, list] = this.el_.children
|
||||
const [meta, list] = Array.prototype.slice.call(this.el_.children)
|
||||
|
||||
/* Set data, metadata and list elements */
|
||||
this.data_ = data
|
||||
|
||||
Reference in New Issue
Block a user