Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/StaticMania/portio-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpdipto <haris.dipto@gmail.com>2021-02-28 07:11:40 +0300
committerhpdipto <haris.dipto@gmail.com>2021-02-28 07:11:40 +0300
commitebe307d3646680620f986ad2a51aa3962275a650 (patch)
treebc5a7161b79ab11706131333ad77d377c32a29ee
parent74584a63106b43525d5bb186e5de1ce334da50a2 (diff)
number's leading zeros removed
-rw-r--r--assets/js/script.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/script.js b/assets/js/script.js
index 9123063..574d4a3 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -17,7 +17,7 @@ function PageLoad() {
// Percentage Increment Animation
var PercentageID = $("#precent"),
- start = 001,
+ start = 1,
end = 100,
durataion = time;
animateValue(PercentageID, start, end, durataion);
@@ -69,7 +69,7 @@ $(document).ready(function () {
// Smooth scrolling
var scrollLink = $(".scroll");
scrollLink.click(function (e) {
- let elem = $(this.hash)
+ let elem = $(this.hash);
if (elem.length) {
e.preventDefault();
$("body,html").animate(