bind peering on load

This commit is contained in:
j 2016-01-13 15:21:59 +05:30
parent 1c2a8a6969
commit 614a562f3c
1 changed files with 4 additions and 0 deletions

View File

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