mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Lame aprilprank
This commit is contained in:
@@ -377,6 +377,9 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
background-color:#191919;
|
background-color:#191919;
|
||||||
margin-top:64px;
|
margin-top:64px;
|
||||||
|
-webkit-transition:transform .5s;
|
||||||
|
-moz-transition:transform .5s;
|
||||||
|
transition:transform .5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.remote-container{
|
.remote-container{
|
||||||
|
|||||||
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/frontpage.min.js
vendored
2
static/dist/frontpage.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -285,7 +285,15 @@ function share_link_modifier(){
|
|||||||
|
|
||||||
function initfp(){
|
function initfp(){
|
||||||
|
|
||||||
|
var date = new Date();
|
||||||
|
|
||||||
|
if(date.getMonth() == 3 && date.getDate() == 1){
|
||||||
|
$(".mega").css("-webkit-transform", "rotate(180deg)");
|
||||||
|
$(".mega").css("-moz-transform", "rotate(180deg)");
|
||||||
|
Materialize.toast('<p id="aprilfools">We suck at pranks..<a class="waves-effect waves-light btn light-green" style="pointer-events:none;">Agreed</a></p>', 100000);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
window.onpopstate = function(e){
|
window.onpopstate = function(e){
|
||||||
var url_split = window.location.href.split("/");
|
var url_split = window.location.href.split("/");
|
||||||
|
|
||||||
@@ -388,6 +396,11 @@ $(document).on('click', '#toast-container', function(){
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click', "#aprilfools", function(){
|
||||||
|
$(".mega").css("-webkit-transform", "rotate(0deg)");
|
||||||
|
$(".mega").css("-moz-transform", "rotate(0deg)");
|
||||||
|
});
|
||||||
|
|
||||||
$(document).on('click', ".chan-link", function(e){
|
$(document).on('click', ".chan-link", function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user