Skip to content
Snippets Groups Projects
Commit 07efd39d authored by Björn Schießle's avatar Björn Schießle
Browse files

prevent script execution during slideshow

parent e248412c
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ $(document).ready(function(){ ...@@ -15,7 +15,7 @@ $(document).ready(function(){
var images=[]; var images=[];
$('#gallerycontent div a').each(function(i,a){ $('#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) { if (images.length <= 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment