diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 82b3024231b3e0d936dfa9199d3def4937540c96..0269978374bd82368441f3606394a1cec8857533 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -228,7 +228,7 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
 	-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
 }
 
-#fileList tr td.filename .name {
+#fileList tr td.filename a.name label {
 	position: absolute;
 	width: 100%;
 	height: 50px;
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index ed3e3a2d94ab90558113223a52b544be192d0507..4e37cfb379f7e4832104b86390856ff76aa304e2 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -31,7 +31,9 @@ $totalsize = 0; ?>
 		<?php if($file['type'] == 'dir'): ?>
 			<a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
 		<?php else: ?>
-			<label class="name" title="" for="select-<?php p($file['fileid']); ?>"></label>
+			<a class="name">
+				<label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label>
+			</a>
 		<?php endif; ?>
 			<span class="nametext">
 				<?php if($file['type'] == 'dir'):?>