mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
use the url of the first panel as link, when toolbar is minimized
This commit is contained in:
@ -23,7 +23,8 @@ if (window.localStorage) {
|
||||
}
|
||||
EOD;
|
||||
|
||||
$url = $panels['request']->getUrl();
|
||||
$firstPanel = reset($panels);
|
||||
$url = $firstPanel->getUrl();
|
||||
?>
|
||||
<div id="yii-debug-toolbar" class="yii-debug-toolbar-<?= $position ?>">
|
||||
<div class="yii-debug-toolbar-block">
|
||||
|
Reference in New Issue
Block a user