Permalink
Browse files

Gnarly android fix

  • Loading branch information...
1 parent de77400 commit 2512ccf6b394c3f6314ee619440aed3c2fc317f2 @jakearchibald committed Dec 4, 2011
Showing with 5 additions and 5 deletions.
  1. +2 −2 css/base.css
  2. +3 −3 index.html
View
4 css/base.css
@@ -39,10 +39,10 @@ a {
-o-transition: opacity 0.5s ease-out;
transition: opacity 0.5s ease-out;
}
- .fade-imgs .gallery img {
+ .js .gallery img {
opacity: 0;
}
- .fade-imgs .gallery img.loaded {
+ .js .gallery img.loaded {
opacity: 1;
}
/* Responsive stuff */
View
6 index.html
@@ -7,7 +7,7 @@
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0">
<meta http-equiv="cleartype" content="on">
- <script>document.documentElement.className='fade-imgs'</script>
+ <script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="css/base.css">
</head>
<body>
@@ -78,7 +78,7 @@
I like cats most when they are asleep because they're
not looking at me.
</p>
- <script class="gallery-hide">document.write('<!--')</script><noscript>
+ <script class="gallery-hide">document.write('<' + '!--')</script><noscript>
<ul class="gallery">
<li>
<a href="http://www.flickr.com/photos/jimmiehomeschoolmom/3037941702/">
@@ -140,7 +140,7 @@
which is why <strong>you</strong> think you love cats. Also,
I'm the only person who truely 'gets' music.
</p>
- <script class="gallery-hide">document.write('<!--')</script><noscript>
+ <script class="gallery-hide">document.write('<' + '!--')</script><noscript>
<ul class="gallery">
<li>
<a href="http://www.flickr.com/photos/anna_debenham/2581322728/">

0 comments on commit 2512ccf

Please sign in to comment.