Skip to content

Commit

Permalink
Removed previous filter control
Browse files Browse the repository at this point in the history
  • Loading branch information
piatra committed Apr 12, 2014
1 parent 894b9b3 commit 9a6cdbc
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions dashboard/js/app.js
Expand Up @@ -214,7 +214,6 @@
// clear any filtering options
App.Timeline.filter = [];
App.Timeline.exclusive = '';
$('.timeline-filter--toggle').addClass('hide');

if (!App.Components.timeline) {
initTimeline();
Expand Down Expand Up @@ -278,17 +277,7 @@
function initTimeline() {
emptyTimeline();
populateTimeline();
$('.timeline-filter--toggle').on('click', function() {
if (App.Timeline) {
App.Timeline.filter = [];
App.Timeline.exclusive = '';
var items = $('.timeline-item');
items.each(function (idx, el) {
$(el).show();
});
}
$(this).addClass('hide');
});
timelineShowAll();
}

function addScrollListener() {
Expand Down

0 comments on commit 9a6cdbc

Please sign in to comment.