Forgot to link the stylesheet URL

This commit is contained in:
Lim Chee Aun 2013-11-27 23:18:11 +08:00
parent 1ce9f5bbe4
commit 481fa8b675

View File

@ -121,6 +121,7 @@ h1{
injectStylesheet: function(url){ injectStylesheet: function(url){
var link = document.createElement('link'); var link = document.createElement('link');
link.rel = 'stylesheet'; link.rel = 'stylesheet';
link.href = url;
document.body.appendChild(link); document.body.appendChild(link);
}, },
fetch: function(fn){ fetch: function(fn){