Commit ae78e1cb authored by Zéfling's avatar Zéfling 🎨
Browse files

correction baku.dom.class

parent 1ccf33b5
......@@ -16,7 +16,7 @@ baku.dom = {
* @param classes class list (separete with space)
* @return NodeList
*/
'class' : function (classes) { return document.getElementByClassName(classes) },
'class' : function (classes) { return document.getElementsByClassName(classes) },
/**
* get all elements that respect a selector
* @param selector CSS selector
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment