better regex for host check (see #1691)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10690 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
<li>Layer/MapGuide.html</li>
|
||||
<li>Layer/MapServer.html</li>
|
||||
<li>Layer/Markers.html</li>
|
||||
<script type="text/javascript">if(window.location.host.match(/(www.)?openlayers.org/)){document.write('<li>Layer/MultiMap.html</li>');}</script>
|
||||
<script type="text/javascript">if(window.location.host.match(/^(www.)?openlayers.org$/)){document.write('<li>Layer/MultiMap.html</li>');}</script>
|
||||
<li>Layer/PointTrack.html</li>
|
||||
<li>Layer/SphericalMercator.html</li>
|
||||
<li>Layer/Text.html</li>
|
||||
|
||||
Reference in New Issue
Block a user