forked from DebaucheryLibrarian/traxxx
Added Nubiles network.
This commit is contained in:
@@ -191,6 +191,10 @@ function init(element, window) {
|
||||
}
|
||||
|
||||
function initAll(context, selector, window) {
|
||||
if (Array.isArray(context)) {
|
||||
return context.map(element => init(element, window));
|
||||
}
|
||||
|
||||
return Array.from(context.querySelectorAll(selector))
|
||||
.map(element => init(element, window));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user