External Javascript file is being called twice and doesn't work?
<p>I have two identical sites.</p>

<p>One is in <strong>localhost/taiwantalk2</strong></p>

<p>The other in <strong>localhost/taiwantalk3</strong></p>

<p>The have this same code in the header:</p>

<pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="&lt;?php bloginfo('template_directory'); ?&gt;/js/cleditor/jquery.cleditor.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="&lt;?php bloginfo('template_directory'); ?&gt;/js/custom.js"&gt;&lt;/script&gt;
</code></pre>

<p>But for some reason, in <strong>localhost/taiwantalk3</strong> the file is being called twice (<strong>jquery.cleditor.min.js</strong>):</p>

<p><img src="http://i.stack.imgur.com/c0uSG.png" alt="enter image description here"></p>

<p>And the script doesn't work:</p>

<p><img src="http://i.stack.imgur.com/rsYwM.png" alt="enter image description here"></p>

<p>Everything was working OK in <strong>localhost/taiwantalk2</strong>:</p>

<p>The file was being called just once:</p>

<p><img src="http://i.stack.imgur.com/smOm3.png" alt="enter image description here"></p>

<p>and the script was working perfectly:</p>

<p><img src="http://i.stack.imgur.com/s4moA.png" alt="enter image description here"></p>

<p>I really don't know what's going on. Any suggestions?</p>

<p>My site is being developed in Wordpress (well, but this is a Javascript question).
I'm using ubuntu 11.04 with LAMP.</p>
