diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php
index 26ff3cbb9f..c2d7fede78 100644
--- a/apps/gallery/lib/tiles.php
+++ b/apps/gallery/lib/tiles.php
@@ -96,7 +96,7 @@ class TileSingle extends TileBase {
}
public function get($extra = '') {
- return '';
+ return '';
}
public function getMiniatureSrc() {
@@ -108,7 +108,7 @@ class TileSingle extends TileBase {
}
public function getOnClickAction() {
- return 'javascript:openFile(\''.$this->file_path.'\');';
+ return '';//'javascript:openFile(\''.$this->file_path.'\');';
}
private $file_path;
diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php
index d3b281a2c3..3dc722f066 100644
--- a/apps/gallery/templates/index.php
+++ b/apps/gallery/templates/index.php
@@ -1,8 +1,4 @@
@@ -15,7 +11,6 @@ div.gallery_div img.shrinker {width:80px !important;}
div.title { opacity: 0; text-align: center; vertical-align: middle; font-family: Arial; font-size: 12px; border: 0; position: absolute; text-overflow: ellipsis; bottom: 20px; left:5px; height:auto; padding: 5px; width: 140px; background-color: black; color: white; -webkit-transition: opacity 0.5s; z-index:1000; border-radius: 7px}
div.visible { opacity: 0.8;}
-