campaign: Try to hide the "neeeds Javascript" when JS is enabled.
authorWerner Koch <wk@gnupg.org>
Wed, 17 May 2017 16:46:21 +0000 (18:46 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 17 May 2017 16:46:28 +0000 (18:46 +0200)
web/donate/index.org

index bdc4a05..68da601 100644 (file)
          <div class="embed-responsive embed-responsive-16by9 camp-video" data-embed="yB3V1YP8cKw">
            <img src="http://i0.kym-cdn.com/photos/images/facebook/001/217/711/afd.jpg_large">
            <div class="play-button"></div>
-           <div class="video-text">Click to start the video<br />
-              <span style="font-size: 60%"
-                    >(requires JavaScript from YouTube.)
-              </span>
+           <div class="video-text">Click to start the video
+              <noscript><br />
+                <span style="font-size: 60%"
+                      >(requires JavaScript from YouTube.)
+                </span>
+              </noscript>
             </div>
           </div>
        </div>
                    data-embed-list="PLjX3x3GHoOWLdrpy17aX5JaCnea2_CxBa">
                <img src="/share/campaign/img/thumbs/p7ULsUdBMwM.jpg">
                <div class="play-button"></div>
-               <div class="video-text">Click to start the video<br />
-                  <span style="font-size: 60%"
-                        >(requires JavaScript from YouTube.)
-                  </span>
+               <div class="video-text">Click to start the video
+                  <noscript><br />
+                    <span style="font-size: 60%"
+                          >(requires JavaScript from YouTube.)
+                    </span>
+                  </noscript>
                 </div>
               </div>
            </div>