From 7aa69e3d027426d1749ac12761a81adf9e1fdbf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Thu, 4 Apr 2019 17:32:54 +0200 Subject: [PATCH] restore hash function in js --- CHANGELOG.md | 3 +++ senpy/static/js/main.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1047fa..e0f0583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +* Restored hash changing function in `main.js` + ## 0.20 ### Added diff --git a/senpy/static/js/main.js b/senpy/static/js/main.js index 10ecb72..23af15c 100644 --- a/senpy/static/js/main.js +++ b/senpy/static/js/main.js @@ -203,8 +203,8 @@ $(document).ready(function() { draw_datasets(); } - // $(window).on('hashchange', hashchanged); - // hashchanged(); + $(window).on('hashchange', hashchanged); + hashchanged(); $('.tooltip-form').tooltip(); $('.nav-pills a').on('shown.bs.tab', function (e) {