From 5d42183a6155adb8c79f8fe9d983edcb99e148c3 Mon Sep 17 00:00:00 2001 From: Hamid Samak Date: Thu, 12 Sep 2019 12:01:54 +0430 Subject: [PATCH] Fix re-open file action --- pheditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } });