From 4ecd40597fdeb55f634ac9adb1c3d2c85763a235 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 27 Jan 2018 21:30:01 +0000 Subject: [PATCH] fhemdoc_modular.js: react on haschange (Forum #83248) git-svn-id: https://svn.fhem.de/fhem/trunk@16015 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/fhemdoc_modular.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fhem/www/pgm2/fhemdoc_modular.js b/fhem/www/pgm2/fhemdoc_modular.js index c547ce194..e59498a0b 100644 --- a/fhem/www/pgm2/fhemdoc_modular.js +++ b/fhem/www/pgm2/fhemdoc_modular.js @@ -208,6 +208,10 @@ $(document).ready(function(){ if(location.hash) loadOneDoc(location.hash.substr(1), fd_lang); + $(window).bind('hashchange', function() { + loadOneDoc(location.hash.substr(1), fd_lang); + }); + $("a[name=loadAll]").show().click(function(e){ e.preventDefault(); $("a[name=loadAll]").hide();