Browse Source

added type="text/javascript" in script tags to be W3 validator compliant

replace/c24a8d1de403113542ba0936e844151de2785013
Martin Monperrus 15 years ago
parent
commit
1509eaaf6a
  1. 4
      bibtexbrowser.php

4
bibtexbrowser.php

@ -1728,8 +1728,8 @@ class BibtexBrowserDisplay {
function javascript() { function javascript() {
// we use jquery with the official content delivery URLs // we use jquery with the official content delivery URLs
// Microsoft and Google also provide jquery with their content delivery networks // Microsoft and Google also provide jquery with their content delivery networks
?><script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script><!--
?><script type="text/javascript" src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script type="text/javascript" ><!--
// Javascript progressive enhancement for bibtexbrowser // Javascript progressive enhancement for bibtexbrowser
$('a.biburl').each(function(item) { // for each url "[bib]" $('a.biburl').each(function(item) { // for each url "[bib]"
var biburl = $(this); var biburl = $(this);

Loading…
Cancel
Save