diff --git a/pheditor.php b/pheditor.php index f312c98..8a47707 100755 --- a/pheditor.php +++ b/pheditor.php @@ -618,7 +618,7 @@ $(function(){ var path = $("#path").html(); if (path.length > 0) { - $("#files a[data-file=\"" + path + "\"], #files a[data-dir=\"" + path + "\"]").click(); + $(window).trigger("hashchange"); } });