Automated merge with file:///Users/barnes26/Code/netsim/ns3/repos/ns-3-dev
authorPeter D. Barnes, Jr. <barnes26@llnl.gov>
Tue, 31 Jul 2012 20:20:03 -0700
changeset 8950 fb9c51552b43
parent 8948 8b2e2024ead7 (current diff)
parent 8949 483f52d90d81 (diff)
child 8951 a54c38f2d5c4
Automated merge with file:///Users/barnes26/Code/netsim/ns3/repos/ns-3-dev
--- a/doc/ns3_html_theme/static/ns3_links.js	Tue Jul 31 20:00:52 2012 -0700
+++ b/doc/ns3_html_theme/static/ns3_links.js	Tue Jul 31 20:20:03 2012 -0700
@@ -27,11 +27,16 @@
 // The Sphinx layout template defines
 //    var ns3_builder = "html", or "singlehtml"
 // so we can condition the links on single/multi-page view.
-if ( (typeof ns3_builder != 'undefined') && (ns3_builder == "singlehtml") ) {
-  ns3_index = ns3_local + "singlehtml/" + ns3_index;
- } else {
-  ns3_index = ns3_local + "html/" + ns3_index;
- }
+if (typeof ns3_builder != 'undefined') {
+  if (ns3_builder == "singlehtml") {
+    ns3_index = ns3_local + "singlehtml/" + ns3_index;
+  } else {
+    ns3_index = ns3_local + "html/" + ns3_index;
+  }
+  else {
+    ns3_index = ns3_local + "html/" + ns3_index;
+  }
+  
 
 var ns3_man  = ns3_rel  + "manual/"         + ns3_index;
 var ns3_mod  = ns3_rel  + "models/"         + ns3_index;