]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update js in footer, add max-width to img
authorMark Otto <markdotto@gmail.com>
Fri, 9 Dec 2011 20:10:01 +0000 (12:10 -0800)
committerMark Otto <markdotto@gmail.com>
Fri, 9 Dec 2011 20:10:01 +0000 (12:10 -0800)
bootstrap.css
bootstrap.min.css
docs/base-css.html
docs/components.html
docs/index.html
docs/javascript.html
docs/less.html
docs/scaffolding.html
lib/reset.less

index adae67ec911c9f526261aba6da265515a5d6a111..2180ae446352f2dcf703f5c641effcda78694137 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Fri Dec  9 11:32:45 PST 2011
+ * Date: Fri Dec  9 12:09:50 PST 2011
  */
 html, body {
   margin: 0;
@@ -127,6 +127,8 @@ sub {
   bottom: -0.25em;
 }
 img {
+  max-width: 100%;
+  height: auto;
   border: 0;
   -ms-interpolation-mode: bicubic;
 }
index 4ee8f84faa6b63abd1b891eb327396b0b700cb93..cc4363fe3b262b4fde06019e867dbcde0e1aeafd 100644 (file)
@@ -12,7 +12,7 @@ audio:not([controls]){display:none;}
 sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
 sup{top:-0.5em;}
 sub{bottom:-0.25em;}
-img{border:0;-ms-interpolation-mode:bicubic;}
+img{max-width:100%;height:auto;border:0;-ms-interpolation-mode:bicubic;}
 button,input,select,textarea{margin:0;font-size:100%;vertical-align:baseline;*vertical-align:middle;}
 button,input{*overflow:visible;line-height:normal;}
 button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
index e087432fe86bdde9e140f397fe13df1ea76dbc77..efdc1e27198b6b416ce90c0a9a35e2160dd59b26 100644 (file)
     <script type="text/javascript">
       // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
       $(document).ready(function() {
-        $('.nav .active a').click(function(e) {
+        $('.nav .active').click(function(e) {
           e.preventDefault();
-          $(this).parent().siblings().toggle();
+          $(this).siblings().toggle();
         });
       });
     </script>
index 049908c20522d70615ec21e0aecaba0da7aaa26b..d0456cc743860246d137fc6ff6ea637fc776a656 100644 (file)
@@ -687,9 +687,9 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
     <script type="text/javascript">
       // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
       $(document).ready(function() {
-        $('.nav .active a').click(function(e) {
+        $('.nav .active').click(function(e) {
           e.preventDefault();
-          $(this).parent().siblings().toggle();
+          $(this).siblings().toggle();
         });
       });
     </script>
index daf7eb308621e91b7c4270150f46f497ef62d5f4..0598fc449b31fb04de9dc2c8dca4426d64821eeb 100644 (file)
@@ -4,6 +4,7 @@
     <meta charset="utf-8">
     <title>Bootstrap, from Twitter</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <meta name="description" content="">
     <meta name="author" content="">
 
     <script type="text/javascript">
       // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
       $(document).ready(function() {
-        $('.nav .active a').click(function(e) {
+        $('.nav .active').click(function(e) {
           e.preventDefault();
-          $(this).parent().siblings().toggle();
+          $(this).siblings().toggle();
         });
       });
     </script>
index 4e405521d187036d3dceb7123fda54bab0742a94..d71de69247611cadbf845b8e899fbeb6ebabd8eb 100644 (file)
@@ -30,9 +30,9 @@
     <script type="text/javascript">
       // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
       $(document).ready(function() {
-        $('.nav .active a').click(function(e) {
+        $('.nav .active').click(function(e) {
           e.preventDefault();
-          $(this).parent().siblings().toggle();
+          $(this).siblings().toggle();
         });
       });
     </script>
index cbc41030232474d110c4dc41a776d50222d88459..cd2c992df9346159f0e515819cbe8b9a672cc167 100644 (file)
     <script type="text/javascript">
       // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
       $(document).ready(function() {
-        $('.nav .active a').click(function(e) {
+        $('.nav .active').click(function(e) {
           e.preventDefault();
-          $(this).parent().siblings().toggle();
+          $(this).siblings().toggle();
         });
       });
     </script>
index 625c4bdb701a1295471ec477cdc4232687d63567..f597e7e887e535fcc0ddfb337cff3b8819bc64b1 100644 (file)
     <script type="text/javascript">
       // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
       $(document).ready(function() {
-        $('.nav .active a').click(function(e) {
+        $('.nav .active').click(function(e) {
           e.preventDefault();
-          $(this).parent().siblings().toggle();
+          $(this).siblings().toggle();
         });
       });
     </script>
index c95c7b04c5d1624741d4c7b7811d5571ca41f8db..20021545623d3c621fd7fc44c466facf68ff05c0 100644 (file)
@@ -93,6 +93,8 @@ sub {
 // -------------------------
 // Source: http://github.com/necolas/normalize.css
 img {
+  max-width: 100%;
+  height: auto;
   border: 0;
   -ms-interpolation-mode: bicubic;
 }