Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
don't hide websites on desktop, we have platform filtering (bug 1195858)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngokevin committed Aug 25, 2015
1 parent 9e15bab commit 29906d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/media/js/content_filter.js
Expand Up @@ -29,10 +29,6 @@ define('content_filter',
filterContent = 'all';
}

if (isDesktop) {
filterContent = 'webapp';
}

z.body.on('change', '.content-filter', function() {
// Update content preferences and reload view to refresh changes.
if (this.value === undefined) {
Expand Down
8 changes: 0 additions & 8 deletions tests/unit/content_filter.js
Expand Up @@ -35,14 +35,6 @@ define('tests/unit/content_filter',
}

describe('content_filter', function() {
it('is webapp on desktop',
helpers
.injector(desktopCapabilities, noStorage, meowEnabled)
.run(['content_filter'], function(contentFilter) {
var args = contentFilter.apiArgs('search');
assert.equal(args.doc_type, 'webapp');
}));

it('is all by default on firefoxos',
helpers
.injector(firefoxOSCapabilities, noStorage, meowEnabled)
Expand Down

0 comments on commit 29906d2

Please sign in to comment.