Link instead of button

This commit is contained in:
Pierre Rudloff 2014-05-23 19:47:36 +02:00
parent 245d46c164
commit 49793ff54e
2 changed files with 7 additions and 5 deletions

View file

@ -68,7 +68,7 @@ if (isset($_GET["url"])) {
}
if (!isset($video->formats)) {
?>
<input class="downloadBtn" type="submit" value="Download" /><br/>
<a class="downloadBtn" href="<?php echo $video->url; ?>">Download</a><br/>
<?php
}
?>

View file

@ -177,6 +177,8 @@ margin-top:8px;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
text-decoration:none;
display:inline-block;
}
.downloadBtn:focus,