Created
December 4, 2015 21:57
-
-
Save vlandham/1f0304442f69b91fc6d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// show only proposals you have rated as 'rating' | |
var rating = 6; | |
$('.list-item').filter(function() { return +$(this).find('.score').text() !== +rating; }).hide(); | |
// show only proposals you have rated as 'rating' or Higher | |
var rating = 5; | |
$('.list-item').filter(function() { return +$(this).find('.score').text() < +rating; }).hide(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment