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

View File

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