From 28700156e64b2518520bb12efe416168f2c84c3d Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 6 Jul 2010 21:36:06 +0000 Subject: [PATCH] * Removed AddCss() from bubble tooltips javascript. It isn't needed since we already include this in head.html --- webcit/static/BubbleTooltips.js | 11 ----------- 1 file changed, 11 deletions(-) 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; -- 2.39.2