From 2f6f4bc3385b61f2db0645c2a25f09b142fc86a3 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 2 Oct 2013 16:18:55 +0200 Subject: [PATCH] stylesheet injection --- isso/js/embed.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/isso/js/embed.js b/isso/js/embed.js index df2ccd1..c5f1265 100644 --- a/isso/js/embed.js +++ b/isso/js/embed.js @@ -3,6 +3,12 @@ require(["ready", "app/api", "app/isso", "app/count", "app/dom", "app/markup"], "use strict"; domready(function() { + var css = $.new("link"); + css.type = "text/css"; + css.rel = "stylesheet"; + css.href = api.endpoint + "/css/isso.css"; + $("head").append(css); + count(); $("#isso-thread").append($.new('h4'));