Why is there a Digg icon at the bottom of pages that don't have any Digg buttons?

102 Views Asked by At

I've added a Digg button to all the items in my site. The javascript required for dynamic Digg buttons is just before my </body> close tag.

<body>
    ...
    <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</body>

Everything works on pages that have the dynamic Digg buttons on them, but on pages that don't, an orphan Digg icon is floating in space at the bottom of the page.

Is this normal behaviour? How can I prevent it?

1

There are 1 best solutions below

0
On BEST ANSWER

I broke down and simply took the <script> out of my base template and only put it on pages with digg buttons. Took some extra template code to make it work, but it gets rid of the "ghost" button.