summaryrefslogtreecommitdiffstats
path: root/js/items.js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-14 21:15:16 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-14 21:15:47 +0200
commit1e37bc139bb28e6fe9b0dd0d477e2dbef5a2cab9 (patch)
treefa56b07316b914f39e2dd02b70a61b05b016b967 /js/items.js
parent365cecd2ec1bf2552ae0d8e064680ed36b0bf04e (diff)
Whitespace cleanup
Diffstat (limited to 'js/items.js')
-rw-r--r--js/items.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/items.js b/js/items.js
index cf6107ad0..4a71094b6 100644
--- a/js/items.js
+++ b/js/items.js
@@ -36,7 +36,7 @@ var News = News || {};
$(window).resize(function(){
self._setScrollBottom();
});
-
+
// mark items whose title was hid under the top edge as read
this._scrollTimeoutMiliSecs = 100;
this._markReadTimeoutMiliSecs = 500;
@@ -354,7 +354,7 @@ var News = News || {};
*/
ItemCache.prototype._getSortedItemIds = function(type, id) {
var pairs = this._getItemIdTimestampPairs(type, id);
-
+
var sorted = pairs.slice(0).sort(function(a, b) {
return a.value - b.value;
});