Permalink
Browse files

v 1.3.6

Fixed some issues created by floating link
  • Loading branch information...
1 parent a5a9b7d commit 0f4b12db4ec8cfa0acd879c8a71f153c90a51494 @Wruczek committed Dec 11, 2016
Showing with 5 additions and 10 deletions.
  1. +0 −5 css/christmas-theme.css
  2. +2 −2 include/footer.php
  3. +1 −1 include/modulecheck.php
  4. +2 −2 js/christmas.js
@@ -9,11 +9,6 @@ body {
background-image: url(../img/christmas-bg.jpg);
}
-.disableSnowLink {
- position: fixed;
- bottom: 0;
-}
-
.panel {
background-color: #410b13;
}
View
@@ -7,12 +7,12 @@
<div class="footer">
<div class="container">
<hr>
- <p class="pull-left">&copy; <?php tl($config["general"]["title"]); ?> 2016</p>
+ <p class="pull-left" id="website-copyright">&copy; <?php tl($config["general"]["title"]); ?> 2016</p>
<div class="pull-right">
<ul class="list-inline">
<li> <!-- Please respect the amount of work we've put for free into this project and leave the authors in the footer. Thank you. -->
<p>
- <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.5 &mdash; &copy; <a href="https://wruczek.tech">Wruczek</a> 2016
+ <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.6 &mdash; &copy; <a href="https://wruczek.tech">Wruczek</a> 2016
</p>
<p>
@@ -90,7 +90,7 @@ function showError($title, $text) { ?>
<?php echo $text; ?>
</div>
<div class="panel-footer">
- &copy; <a href="https://wruczek.tech">Wruczek</a> 2016 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.5 | MIT License
+ &copy; <a href="https://wruczek.tech">Wruczek</a> 2016 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.3.6 | MIT License
</div>
</div>
View
@@ -20,12 +20,12 @@ if (new Date().getMonth() === 11) {
document.getElementById('background-artist').innerHTML = '<a href="http://www.publicdomainpictures.net/view-image.php?image=28562&picture=christmas-bulbs-red-background">Debi Geroux - Public Domain</a>';
if(getCookie('snoweffect') === 'false') {
- document.getElementsByTagName('body')[0].innerHTML += '<a class="disableSnowLink" href="#" onclick="enableSnowEffect()">Enable snow effect</a>';
+ document.getElementById('website-copyright').innerHTML += ' &mdash; <a class="disableSnowLink" href="#" onclick="enableSnowEffect()">Enable snow effect</a>';
return;
}
// Add a link to disable the effect
- document.getElementsByTagName('body')[0].innerHTML += '<a class="disableSnowLink" href="#" onclick="disableSnowEffect()">Disable snow effect</a>';
+ document.getElementById('website-copyright').innerHTML += ' &mdash; <a class="disableSnowLink" href="#" onclick="disableSnowEffect()">Disable snow effect</a>';
// Add the snow effect
snowFall.snow(document.body, {

0 comments on commit 0f4b12d

Please sign in to comment.