Commit 898c1788 by Tobias Munk

use the url of the first panel as link, when toolbar is minimized

parent bc20c64e
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment