html5/spec-author-view link-fixup.js,NONE,1.1

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