in scripts/FriendlyEats.View.js [88:109]
empty: function() {
var headerEl = that.renderTemplate('header-base', {
hasSectionHeader: true
});
var noResultsEl = that.renderTemplate('no-results');
that.replaceElement(
headerEl.querySelector('#section-header'),
that.renderTemplate('filter-display', {
filter_description: filter_description
})
);
headerEl.querySelector('#show-filters').addEventListener('click', function() {
that.dialogs.filter.show();
});
that.replaceElement(document.querySelector('.header'), headerEl);
that.replaceElement(document.querySelector('main'), noResultsEl);
return;
}