pusher: remove more duplicate code ( sorry :( )
This commit is contained in:
@@ -110,7 +110,6 @@ angular.module('habitrpg')
|
||||
|
||||
var awaitActivity = function() {
|
||||
$(document).off('mousemove keydown mousedown touchstart', awaitActivity);
|
||||
connectToPusher(partyId);
|
||||
if (!localStorage.getItem(tabIdKey) || localStorage.getItem(tabIdKey) === tabId) {
|
||||
connectToPusher(partyId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user