From: Art Cancro Date: Tue, 6 Jul 2010 21:36:06 +0000 (+0000) Subject: * Removed AddCss() from bubble tooltips javascript. It isn't needed since we already... X-Git-Tag: v7.86~115 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=28700156e64b2518520bb12efe416168f2c84c3d;p=citadel.git * Removed AddCss() from bubble tooltips javascript. It isn't needed since we already include this in head.html --- diff --git a/webcit/static/BubbleTooltips.js b/webcit/static/BubbleTooltips.js index 104863f2e..19ec98023 100644 --- a/webcit/static/BubbleTooltips.js +++ b/webcit/static/BubbleTooltips.js @@ -16,7 +16,6 @@ function btt_enableTooltips(id) if (!document.getElementById || !document.getElementsByTagName) { return; } - btt_AddCss(); h = document.createElement("span"); h.id = "btc"; h.setAttribute("id", "btc"); @@ -86,16 +85,6 @@ function btt_CreateEl(t, c) return (x); } -function btt_AddCss() -{ - var l = btt_CreateEl("link"); - l.setAttribute("type", "text/css"); - l.setAttribute("rel", "stylesheet"); - l.setAttribute("href", "static/bt.css"); - l.setAttribute("media", "screen"); - document.getElementsByTagName("head")[0].appendChild(l); -} - function btt_Locate(e) { var posx = 0, posy = 0;