Skip to content

Commit

Permalink
Panel icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergejey committed Aug 15, 2022
1 parent e028a6b commit b429dad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
startMeasure('accelerationProcess');
if ((!defined('DISABLE_PANEL_ACCELERATION') || DISABLE_PANEL_ACCELERATION!=1)) {
//$result = preg_replace('/href="(\/admin\.php.+?)">/is','href="\1" onclick="return partLoad(this.href);">',$result);
$result = str_replace(' href="/admin.php',' onclick="return partLoad(this.href);" href="/admin.php',$result);
$result = str_replace(' href="/admin.php?',' onclick="return partLoad(this.href);" href="/admin.php?',$result);
}
endMeasure('accelerationProcess');

Expand Down
1 change: 0 additions & 1 deletion templates/panel_js_scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@
var requestCounter = 0;

function partLoad(link) {

[#if PRINT=="1"#]return true;[#endif#]
if (typeof link == 'undefined') return;

Expand Down

0 comments on commit b429dad

Please sign in to comment.