- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 01 Jan 2010 03:17:27 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv4289
Added Files:
	link-fixup.js 
Log Message:
new
--- NEW FILE: link-fixup.js ---
function fixBrokenLink(is404) {
    if (window.location.hash.length < 1 && !is404)
        return;
    var fragid = window.location.hash.substr(1);
    if (fragid && document.getElementById(fragid))
        return;
    var script = document.createElement('script');
    script.src = 'fragment-links.js';
    document.body.appendChild(script);
}
Received on Friday, 1 January 2010 03:17:28 UTC