Popover icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
2348d14e48
commit
c6103dc9b7
1 changed files with 2 additions and 2 deletions
|
@ -159,10 +159,10 @@
|
|||
for (var i = 0; i < parts.length; i++) {
|
||||
var part = parts[i];
|
||||
if(part.dir) {
|
||||
$menuItem = $('<li class="crumblist"><a><span></span></a></li>');
|
||||
$menuItem = $('<li class="crumblist"><a><span class="icon-folder"></span><span></span></a></li>');
|
||||
$menuItem.data('dir', part.dir);
|
||||
$menuItem.find('a').attr('href', this.getCrumbUrl(part, i));
|
||||
$menuItem.find('span').text(part.name);
|
||||
$menuItem.find('span:eq(1)').text(part.name);
|
||||
this.$menu.children('ul').append($menuItem);
|
||||
if (this.onClick) {
|
||||
$menuItem.on('click', this.onClick);
|
||||
|
|
Loading…
Reference in a new issue