aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorAnqi Xu2012-06-24 13:32:48 -0400
committerAnqi Xu2012-06-24 13:32:48 -0400
commit2d279923e4a5574b44cf621dc9d81f8d567b1b99 (patch)
tree06cad4c9d240659f60f6605dba50653b8fb65a2a /Resources
parent5d5cb88e92573fbb679797b5f52e7854e073c35d (diff)
downloadLikeFeed-2d279923e4a5574b44cf621dc9d81f8d567b1b99.tar.bz2
code freeze
Diffstat (limited to 'Resources')
-rw-r--r--Resources/friendship/core/DataManipulation.js2
-rw-r--r--Resources/friendship/ui/FriendSelector.js7
2 files changed, 8 insertions, 1 deletions
diff --git a/Resources/friendship/core/DataManipulation.js b/Resources/friendship/core/DataManipulation.js
index ae18a89..8e7978a 100644
--- a/Resources/friendship/core/DataManipulation.js
+++ b/Resources/friendship/core/DataManipulation.js
@@ -4,6 +4,6 @@
fs.data.likeIDs = Array();
fs.data.reverseChronoLikedIDs = Array();
fs.data.numLikesFetched = 0;
- fs.data.NUM_LIKES_PER_FETCH = 20;
+ fs.data.NUM_LIKES_PER_FETCH = 25;
fs.data.isQueryingMore = false;
})(); \ No newline at end of file
diff --git a/Resources/friendship/ui/FriendSelector.js b/Resources/friendship/ui/FriendSelector.js
index 3097689..7160cd8 100644
--- a/Resources/friendship/ui/FriendSelector.js
+++ b/Resources/friendship/ui/FriendSelector.js
@@ -108,11 +108,18 @@
for (var i = 0; i < switch_buttons.length; i++) {
switch_buttons[i].value = true
}
+ for (key in fs.data.friends) {
+ fs.data.friends[key].selected = true
+ }
}
else if (e.index == 1) {
for (var i = 0; i < switch_buttons.length; i++) {
switch_buttons[i].value = false
}
+
+ for (key in fs.data.friends) {
+ fs.data.friends[key].selected = false
+ }
}
});