Skip to content

Commit

Permalink
fix for display error in Safari:
Browse files Browse the repository at this point in the history
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
  • Loading branch information
orbiter committed Jun 17, 2007
1 parent 43053d1 commit c6ee6f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htroot/yacysearch.html
Expand Up @@ -210,9 +210,10 @@ <h4 class="linktitle"><img src="#[favicon]#" id="f#[urlhash]#" class="favicon" w
<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 -->
Expand Down

0 comments on commit c6ee6f8

Please sign in to comment.