summaryrefslogtreecommitdiffstats
path: root/js/items.js
diff options
context:
space:
mode:
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;
});