Changeset 22614 in spip-zone


Ignore:
Timestamp:
Sep 15, 2008, 11:14:40 AM (13 years ago)
Author:
brunobergot@…
Message:

on modifie le type des scripts en application/javascript pour éviter que la compression automatique dans le privé casse les scripts (cf http://trac.rezo.net/trac/spip/changeset/12667 ) Merci à _fil_ pour l'info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/googlemap_api/inc/geomap_script_init.php

    r21146 r22614  
    2121        $out = '
    2222        <script type="text/javascript" src="'.$geomap.'"></script>
    23         <script type="text/javascript">'.$gmap_script.'</script>
    24         <script type="text/javascript" src="'._DIR_PLUGIN_GEOMAP.'js/customControls.js"></script>';
     23        <script type="application/javascript">'.$gmap_script.'</script>
     24        <script type="application/javascript" src="'._DIR_PLUGIN_GEOMAP.'js/customControls.js"></script>';
    2525        return $out;
    2626}
Note: See TracChangeset for help on using the changeset viewer.