Fix for issue with bindFunctions being called when there are none.

This commit is contained in:
Knut Sveidqvist 2019-08-20 18:42:19 +02:00
parent 5dbddfb6a1
commit 980749536b
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ const init = function () {
if (typeof callback !== 'undefined') {
callback(id)
}
bindFunctions(element)
if (bindFunctions) bindFunctions(element)
}, element)
}
}