1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-03-15 11:50:01 +01:00

Add title to variable keys

So we can show them on hover.
Not the best solution, but at least an easy fix to show the truncated text.
This commit is contained in:
Barry vd. Heuvel 2014-03-25 15:49:56 +01:00
parent 2fde8359e5
commit 9347b95328

View File

@ -194,7 +194,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
className: csscls('kvlist varlist'),
itemRenderer: function(dt, dd, key, value) {
dt.text(key);
$('<span />').attr('title', key).text(key).appendTo(dt);
var v = value;
if (v && v.length > 100) {