diff --git a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb index f25e4d9f..57d13bc5 100644 --- a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb +++ b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb @@ -124,9 +124,9 @@ var galleryAPI = function(){ $.each(categories,function(x,category){ $.each(category,function(i,album){ if(album.cover == "default") - var $img = $("
"); + var $img = $(""); else - var $img = $(""); + var $img = $(""); var tag_string = ""; for(tag in album.tag_names){ tag_string+= ' '; diff --git a/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css b/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css index 045e1bc2..21475b7a 100755 --- a/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css +++ b/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css @@ -16,7 +16,7 @@ } .rg a:hover { } -.rg img { display: block; border: none; width: 120px; height: 90px; } +.rg img { display: block; border: none;} .rgmask { background: #000; width: 100%; position: fixed; top: 0; left: 0; }