* Removed AddCss() from bubble tooltips javascript. It isn't needed since we already...
authorArt Cancro <ajc@citadel.org>
Tue, 6 Jul 2010 21:36:06 +0000 (21:36 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 6 Jul 2010 21:36:06 +0000 (21:36 +0000)
webcit/static/BubbleTooltips.js

index 104863f2e3c81f8d83466e985ee83a2b023ca860..19ec98023c182500a3d1bf4503cb5f2da4c40c8f 100644 (file)
@@ -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;