Skip to content

Commit e044ee8

Browse files
authored
Map tooltip data (php-debugbar#724)
1 parent fa8049c commit e044ee8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DebugBar/Resources/widgets.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
837837
$a.append(debugbar.getControl(key[0]).$badge.clone().css('display', 'inline-block').text(d));
838838
}
839839
$a.appendTo($badges).click(clickHandler);
840+
} else if (key[1] === 'tooltip') {
841+
debugbar.getControl(key[0]).set('tooltip', d);
840842
}
841843
}
842844
});

0 commit comments

Comments
 (0)