Skip to content

Commit a7cce7e

Browse files
committed
Merge pull request php-debugbar#111 from barryvdh/patch-6
Add title to variable keys
2 parents 2fde835 + 9347b95 commit a7cce7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DebugBar/Resources/widgets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
194194
className: csscls('kvlist varlist'),
195195

196196
itemRenderer: function(dt, dd, key, value) {
197-
dt.text(key);
197+
$('<span />').attr('title', key).text(key).appendTo(dt);
198198

199199
var v = value;
200200
if (v && v.length > 100) {

0 commit comments

Comments
 (0)