Hacker News new | ask | show | jobs
by marklawrutgers 3786 days ago
I have an issue with the load local copy code:

<script>window.jQuery || document.write('<script src="local_server_path/jquery.min.js"></script>')</script>

In the browser I always end up with a ') at the top of all my pages. I'm assuming this is because the script tag actually closes inside of the document.write instead of the actual end. Am I the only one with this issue? Not sure what went wrong here.