From 6055b787cf920271d997bbdfb0b030053aea5e1b Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Wed, 27 May 2020 22:17:11 +0000
Subject: [PATCH] fix font inconsistencies on iPhone
---
assets/js/index.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/assets/js/index.js b/assets/js/index.js
index 16c7d68..2f9c319 100644
--- a/assets/js/index.js
+++ b/assets/js/index.js
@@ -94,7 +94,7 @@
const closest = collection.reduce(function(prev, curr) {
return (Math.abs(curr - goal) < Math.abs(prev - goal) ? curr : prev);
});
- return closest
+ return closest;
}
function hasClasses(el) {
@@ -109,6 +109,7 @@
const navHeight = nav.offsetHeight;
const docContent = elem('main');
docContent.style.paddingTop = `${navHeight + 20}px`;
+ return navHeight + 20;
})();
(function markInlineCodeTags(){
--
Gitblit v1.10.0