Commit 58d609a3 authored by Mathieu Giraud's avatar Mathieu Giraud

js/vidjil-style.js: icon()

parent 5206ee49
......@@ -56,3 +56,11 @@
/* Get an icon */
function icon(name, title) {
i = document.createElement('i')
i.className = name
i.setAttribute('title', title)
return i
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