fix for display error in Safari:

safari is obviously sensitive against spaces in 'x --'; 'x--' worked.
see http://www.yacy-forum.de/viewtopic.php?p=37306#37306

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3906 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 43053d125c
commit c6ee6f88aa

@ -210,9 +210,10 @@ document.getElementById("Enter").value = "search again - catch up more links";
<script type="text/javascript">
var urls = "#{results}##[urlname]# #{/results}#".split(" ");
// the last element is always empty because the split gets a space at the end of the string
urls.length --;
if(urls.length > 0)
urls.length--;
if(urls.length > 0) {
AllImageSnippets(urls, "#[former]#");
}
</script>
<br style="clear:left;" />
::<!-- type 3: image thumbnail list for one single url -->

Loading…
Cancel
Save