Skip to content

Commit c4df4a0

Browse files
committed
fix: view btn error
1 parent 51c434b commit c4df4a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<td>
5151
<?php if ($file->getSizeKB() < $viewMaxSize): ?>
5252
<a href="<?= $urlBuilder('view', ['key' => $file->getKey()]) ?>"
53+
class="btn btn-primary btn-xs" target="_blank">view</a>
5354
<?php endif; ?>
54-
class="btn btn-primary btn-xs" target="_blank">view</a>
5555
<a href="<?= $urlBuilder('tail', ['key' => $file->getKey(), 'line' => $tailLine]) ?>"
5656
class="btn btn-primary btn-xs" target="_blank">tail</a>
5757
<a href="<?= $urlBuilder('download', ['key' => $file->getKey()]) ?>"

0 commit comments

Comments
 (0)