mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Small fixes.
This commit is contained in:
parent
6c00a8e669
commit
a447502703
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ modulejs.define('ext/crumb', ['_', '$', 'core/settings', 'core/resource', 'core/
|
||||||
$ul.find('.crumb').remove();
|
$ul.find('.crumb').remove();
|
||||||
_.each(crumb, function (e) {
|
_.each(crumb, function (e) {
|
||||||
|
|
||||||
$ul.append(update(e));
|
$ul.append(update(e, true));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -259,7 +259,7 @@ modulejs.define('ext/preview-txt', ['_', '$', 'core/settings', 'core/resource',
|
||||||
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
var matchedEntries = _.compact(_.map($('#item .item'), function (item) {
|
var matchedEntries = _.compact(_.map($('#items .item'), function (item) {
|
||||||
|
|
||||||
item = $(item).data('item');
|
item = $(item).data('item');
|
||||||
return _.indexOf(_.keys(settings.types), item.type) >= 0 ? item : null;
|
return _.indexOf(_.keys(settings.types), item.type) >= 0 ? item : null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue