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

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/assets/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/assets/js/main.js b/static/assets/js/main.js
index c02f237..47c0886 100644
--- a/static/assets/js/main.js
+++ b/static/assets/js/main.js
@@ -37,7 +37,7 @@ var isMobile = false, isTablet = false, isLaptop = false;
location.hostname == this.hostname
) {
// Figure out element to scroll to
- var target = $(this.hash);
+ var target = $(decodeURI(this.hash));
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
// Does a scroll target exist?
if (target.length) {