[www-doc] [Git][VideoLAN.org/websites][master] mention text/javascript

Christoph Miebach gitlab at videolan.org
Fri Jan 6 16:48:47 CET 2017


Christoph Miebach pushed to branch master at VideoLAN organization / websites


Commits:
0a360efb by Christoph Miebach at 2017-01-06T10:48:38-05:00
mention text/javascript

- - - - -


2 changed files:

- www.videolan.org/include/os-specific.php
- www.videolan.org/vlc/releases/2.2.4.php


Changes:

=====================================
www.videolan.org/include/os-specific.php
=====================================
--- a/www.videolan.org/include/os-specific.php
+++ b/www.videolan.org/include/os-specific.php
@@ -231,7 +231,7 @@ function downloadButton2($dropdownItems = null, $targetOS = null, $displayMainOS
     $defaultOS = is_null($targetOS) || $targetOS == 'All' ? "windows" : $targetOS;
     $defaultDetail = getOS($defaultOS);
     ?>
-    <script>
+    <script type="text/javascript">
         var ws;
 
         function openWSCounterSocket() {


=====================================
www.videolan.org/vlc/releases/2.2.4.php
=====================================
--- a/www.videolan.org/vlc/releases/2.2.4.php
+++ b/www.videolan.org/vlc/releases/2.2.4.php
@@ -108,7 +108,7 @@
     .subtext { position: relative; top: -20px; left:250px; width: 400px; text-align: center; }
 
 </style>
-            <script>
+            <script type="text/javascript">
               $(function(){
                 $("#slides").slidesjs({
                   width: 940,
@@ -161,7 +161,7 @@
                     Version <span id='downloadVersion'>2.2.4</span>
                     </span>
                 </a>
-                <script>
+                <script type="text/javascript">
                 $(document).ready(function() {
                     $("#downloadButton").removeAttr('href');
                 });



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/0a360efb82213e7cbab06f15cad27fc7bf987ac7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20170106/79eec888/attachment.html>


More information about the www-doc mailing list