Small fixes.

This commit is contained in:
Lars Jung 2012-10-27 15:30:25 +02:00
parent 6c00a8e669
commit a447502703
2 changed files with 2 additions and 2 deletions

View file

@ -259,7 +259,7 @@ modulejs.define('ext/preview-txt', ['_', '$', 'core/settings', 'core/resource',
event.preventDefault();
var matchedEntries = _.compact(_.map($('#item .item'), function (item) {
var matchedEntries = _.compact(_.map($('#items .item'), function (item) {
item = $(item).data('item');
return _.indexOf(_.keys(settings.types), item.type) >= 0 ? item : null;