Small change.

This commit is contained in:
Zixaphir 2014-08-18 18:01:42 -07:00
parent 9bfed41a5d
commit 271c944c8f
3 changed files with 6 additions and 3 deletions

View File

@ -12899,7 +12899,8 @@
return;
}
Unread.db.disconnect();
if (hr = Unread.hr, Unread) {
hr = Unread.hr;
if (hr) {
$.rm(hr);
}
_ref = ['db', 'hr', 'posts', 'postsQuotingYou', 'thread', 'title'];

View File

@ -12905,7 +12905,8 @@
return;
}
Unread.db.disconnect();
if (hr = Unread.hr, Unread) {
hr = Unread.hr;
if (hr) {
$.rm(hr);
}
_ref = ['db', 'hr', 'posts', 'postsQuotingYou', 'thread', 'title'];

View File

@ -16,7 +16,8 @@ Unread =
return if g.VIEW isnt 'thread' or !Conf['Unread Count'] and !Conf['Unread Favicon'] and !Conf['Desktop Notifications']
Unread.db.disconnect()
$.rm hr if {hr} = Unread
{hr} = Unread
$.rm hr if hr
delete @[name] for name in ['db', 'hr', 'posts', 'postsQuotingYou', 'thread', 'title']
@lastReadPost = 0