prevent script execution during slideshow

This commit is contained in:
Bjoern Schiessle 2012-07-11 15:44:39 +02:00
parent e248412ca9
commit 07efd39d8a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ $(document).ready(function(){
var images=[];
$('#gallerycontent div a').each(function(i,a){
images.push({image : a.href, title : a.title, thumb : a.children[0].src, url : 'javascript:$.endSlideshow()'});
images.push({image : a.href, title : a.title.replace(/</, '&lt;').replace(/>/, '&gt;'), thumb : a.children[0].src, url : 'javascript:$.endSlideshow()'});
});
if (images.length <= 0) {