diff options
author | Kausar Ahmed <kausarahmedpial@gmail.com> | 2021-03-09 13:50:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 13:50:25 +0300 |
commit | b678469bf689c92a90248384ea096a32742abf73 (patch) | |
tree | bc5a7161b79ab11706131333ad77d377c32a29ee | |
parent | 74584a63106b43525d5bb186e5de1ce334da50a2 (diff) | |
parent | ebe307d3646680620f986ad2a51aa3962275a650 (diff) |
Fix: Number's leading zeros removed
-rw-r--r-- | assets/js/script.js | 4 |
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( |