- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 24 Oct 2011 10:57:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv30748
Modified Files:
fragment-links.js
Log Message:
typo (whatwg r6730)
[updated by splitter]
Index: fragment-links.js
===================================================================
RCS file: /sources/public/html5/spec-author-view/fragment-links.js,v
retrieving revision 1.375
retrieving revision 1.376
diff -u -d -r1.375 -r1.376
--- fragment-links.js 21 Oct 2011 21:57:27 -0000 1.375
+++ fragment-links.js 24 Oct 2011 10:57:23 -0000 1.376
@@ -2,10 +2,4 @@
var fragid = window.location.hash.substr(1);
if (!fragid) { /* handle section-foo.html links from the old multipage version, and broken foo.html from the new version */
- var m = window.location.pathname.match(/\/(?:section-)?([\w\-]+)\.html/);
- if (m) fragid = m[1];
-}
-var page = fragment_links[fragid];
-if (page) {
- window.location.replace(page+'.html#'+fragid);
-}
+
\ No newline at end of file
Received on Monday, 24 October 2011 10:57:31 UTC