bind peering on load

This commit is contained in:
j 2016-01-13 15:21:59 +05:30
parent 1c2a8a6969
commit 614a562f3c

View file

@ -83,9 +83,13 @@ oml.ui.peersPanel = function() {
} }
}); });
var peering = Ox.throttle(function() { var peering = Ox.throttle(function() {
updateUsers(); updateUsers();
}, 1000); }, 1000);
if(oml.user.ui.page == 'peers') {
oml.bindEvent({peering: peering});
}
function renderSectionList(folder) { function renderSectionList(folder) {