fhemdoc_modular.js: react on haschange (Forum #83248)

git-svn-id: https://svn.fhem.de/fhem/trunk@16015 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2018-01-27 21:30:01 +00:00
parent 5d53a6f2d7
commit 360707efa3

View File

@@ -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();