Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1403
tocprint.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 7:08 PM
2014-11-21 19:08:22 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
tocprint.patch
View Options
Index: commonPrint.css
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/common/commonPrint.css,v
retrieving revision 1.2
diff -u -r1.2 commonPrint.css
--- commonPrint.css 17 Sep 2004 03:24:14 -0000 1.2
+++ commonPrint.css 23 Nov 2004 12:38:49 -0000
@@ -99,6 +99,7 @@
#colophon,
.editsection,
.toctoggle,
+.tochidden,
div#f-poweredbyico,
div#f-copyrightico,
li#f-viewcount,
Index: wikibits.js
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/common/wikibits.js,v
retrieving revision 1.1
diff -u -r1.1 wikibits.js
--- wikibits.js 5 Sep 2004 03:33:24 -0000 1.1
+++ wikibits.js 23 Nov 2004 12:38:50 -0000
@@ -216,6 +216,7 @@
function toggleToc() {
+ var tocmain = document.getElementById('toc');
var toc = document.getElementById('tocinside');
var showlink=document.getElementById('showlink');
var hidelink=document.getElementById('hidelink');
@@ -223,13 +224,14 @@
toc.style.display = tocWas;
hidelink.style.display='';
showlink.style.display='none';
+ tocmain.className = '';
} else {
tocWas = toc.style.display;
toc.style.display = 'none';
hidelink.style.display='none';
showlink.style.display='';
-
+ tocmain.className = 'tochidden';
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1197
Default Alt Text
tocprint.patch (1 KB)
Attached To
Mode
T2482: when TOC is hidden, it should not print
Attached
Detach File
Event Timeline
Log In to Comment