diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 94d09729..8ace9a3f 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -1499,13 +1499,16 @@ } if (unread.length > 0){ - unread.sort(TD.util.chirpReverseColumnSort); + if (ensurePropertyExists(TD, "util", "chirpReverseColumnSort")){ + unread.sort(TD.util.chirpReverseColumnSort); + } for(let message of unread){ onNewTweet(this, message); } // TODO sound notifications are borked as well + // TODO figure out what to do with missed notifications at startup } } });