Fossil SCM
Using the new $current_feature variable in the Bootstrap skin's Header, it being the only stock skin to still provide its own <body>. Without this change, the prior commit won't take effect when using Bootstrap.
Commit
556923fab5b43de54ef3c10707223df221df4b29702876127804341f58347736
Parent
c671fc5d813fd47…
1 file changed
+1
-1
+1
-1
| --- skins/bootstrap/header.txt | ||
| +++ skins/bootstrap/header.txt | ||
| @@ -14,11 +14,11 @@ | ||
| 14 | 14 | if(!e) throw new Error("Expecting element with ID "+x); |
| 15 | 15 | else return e; |
| 16 | 16 | } |
| 17 | 17 | </script> |
| 18 | 18 | </head> |
| 19 | - <body data-spy="scroll" data-target=".sidebar"> | |
| 19 | + <body data-spy="scroll" data-target=".sidebar" class="$current_feature"> | |
| 20 | 20 | <div id="wrap"> |
| 21 | 21 | <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
| 22 | 22 | <div class="container"> |
| 23 | 23 | <div class="navbar-header"> |
| 24 | 24 | <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"> |
| 25 | 25 |
| --- skins/bootstrap/header.txt | |
| +++ skins/bootstrap/header.txt | |
| @@ -14,11 +14,11 @@ | |
| 14 | if(!e) throw new Error("Expecting element with ID "+x); |
| 15 | else return e; |
| 16 | } |
| 17 | </script> |
| 18 | </head> |
| 19 | <body data-spy="scroll" data-target=".sidebar"> |
| 20 | <div id="wrap"> |
| 21 | <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
| 22 | <div class="container"> |
| 23 | <div class="navbar-header"> |
| 24 | <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"> |
| 25 |
| --- skins/bootstrap/header.txt | |
| +++ skins/bootstrap/header.txt | |
| @@ -14,11 +14,11 @@ | |
| 14 | if(!e) throw new Error("Expecting element with ID "+x); |
| 15 | else return e; |
| 16 | } |
| 17 | </script> |
| 18 | </head> |
| 19 | <body data-spy="scroll" data-target=".sidebar" class="$current_feature"> |
| 20 | <div id="wrap"> |
| 21 | <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
| 22 | <div class="container"> |
| 23 | <div class="navbar-header"> |
| 24 | <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"> |
| 25 |