Normalize Code Style

This commit is contained in:
Kevin Kandlbinder 2020-12-27 03:44:12 +01:00
parent f62930067b
commit 75c52c744d
36 changed files with 508 additions and 526 deletions

View file

@ -1,12 +1,12 @@
/* eslint-disable no-undef */
let $ = require("jquery");
$(function() {
$(window).on("scroll", function() {
$(function () {
$(window).on("scroll", function () {
performUpdate();
});
$(window).on("navigate", function() {
$(window).on("navigate", function () {
performUpdate();
});
@ -14,7 +14,7 @@ $(function() {
});
function performUpdate() {
if(window.scrollY < 15) {
if (window.scrollY < 15) {
$(".topBar").addClass("homeBarTransparent");
} else {
$(".topBar").removeClass("homeBarTransparent");